[Bug libstdc++/59712] unordered_map : clang fails with "member access into incomplete type"

2014-01-07 Thread oparcollet.triqs at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59712 --- Comment #2 from Olivier Parcollet --- I am not sure. If I understood correctly, clang is stricter on this sort of issue than gcc, but I do not know what the standard says. A minimal version of such code is (from hashtable.h) : #include t

[Bug libstdc++/59712] New: unordered_map : clang fails with "member access into incomplete type"

2014-01-07 Thread oparcollet.triqs at gmail dot com
ity: major Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: oparcollet.triqs at gmail dot com The code : #include int main() { std::unordered_map M; } using : - libstdc++ of gcc 4.9.0, svn r206386. - clang3.4, -std=