https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37804
Ilya Konstantinov <ilya.konstantinov at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ilya.konstantinov at gmail dot com --- Comment #6 from Ilya Konstantinov <ilya.konstantinov at gmail dot com> --- This bug causes an error using llvm's libc++, e.g.: #include <string> void foo() { string::iterator it; // friend-declares vector<_Tp,_Alloc> } #include <vector> using std::vector; // <-- error: 'vector' is already declared in this scope