[patch][libc++]using some undeclared functions with -std=c++98, -std=c++03 or -ansi
David Chisnall
theraven at FreeBSD.org
Mon Nov 26 20:32:59 UTC 2012
On 26 Nov 2012, at 20:11, Dimitry Andric wrote:
> On 2012-11-24 11:45, David Chisnall wrote:
> ...
>> In theory, the libc++ headers that are part of the C++03 spec (i.e. not things like <stdatomic>) should work in C++98 / C++03 mode, however the implementation in libc++ must be compiled in C++11 mode.
>
> Minor note: we now use -std=c++0x by default for building libc++, so
> shall I update that to -std=c++11?
Yes, if we've now got a clang in base that understands that.
David
More information about the freebsd-toolchain
mailing list