[patch][libc++]using some undeclared functions with -std=c++98, -std=c++03 or -ansi

Dimitry Andric dim at FreeBSD.org
Mon Nov 26 20:11:55 UTC 2012


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?


More information about the freebsd-toolchain mailing list