On 2012-11-24 11:45, David Chisnall wrote:
On 23 Nov 2012, at 21:27, Dimitry Andric wrote:
Note there are also other problems when compiling libc++ with -std=c++98
and -std=c++03, such as complaints about namespacing and such.  I am not
entirely sure libc++ is fully supported yet under those restrictions. :)

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.

To upstream this patch, the __LONG_LONG_SUPPORTED flag should be 
unconditionally set for non-FreeBSD flags in the __config file in libc++.  This 
will have no functionality change on other platforms.

I have posted a proposed patch to the upstream mailing list here:

http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20121119/068587.html

If it is accepted as-is, I will merge it immediately.
_______________________________________________
freebsd-toolchain@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"

Reply via email to