https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207253
--- Comment #30 from [email protected] --- (In reply to Raphael Kubo da Costa from comment #29) I reported the problem upstream. At least to me, the response was a bit unexpected: libc++ doesn't support compiling c++98 programs that don't compile also as c++11 programs: https://llvm.org/bugs/show_bug.cgi?id=26754 Than means that the any legacy program using a type as array, forward_list and probably a few more will clash with the ones in the std namespace for c++11 in libc++. At least, we should reflect this fact in the documentation: https://www.freebsd.org/doc/en/books/porters-handbook/book.html#uses-compiler and maybe add a new knob in "USES= compiler:..." for cases like this. Apparently GNU's C++ library is doing the right thing: they don't let c++11 names leak into std namespace unless c++11 standard is explicitly specified. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain To unsubscribe, send any mail to "[email protected]"
