[Bug 207253] cad/openvsp: Fix in 11-CURRENT
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Feb 27 10:30:19 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207253
--- Comment #30 from fernando.apesteguia at gmail.com ---
(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.
More information about the freebsd-toolchain
mailing list