[v3] missed explicit bool conversion cleanups

Benjamin Kosnik bkoz@redhat.com
Tue Aug 11 01:40:00 GMT 2009


> As pointed out by Gaby as part of the constexpr work. I did a bunch of
> these fixes after Jason's initial implementation. However, these were
> found by compiling the "src" directory of libstdc++ with
> CXXFLAGS="-std=gnu++0x -Wfatal-errors"

Actually....

This re-arranges some of the TR1/C++0x source files such that TR1 files
have the right definitions, even in the presence of -std=gnu++0x. So,
the libstdc++ build with CXXFLAGS="-std=gnu++0x" will link correctly,
and is usable although fails ABI checks.

The ABI fails are mostly C++0x added symbols that are not version
mapped correctly. Ie, complex::[imag|real], numeric_limits::inifinity,
chrono, common_type, basic_*stream::(string ctors), initializer_list*,
etc. This is unsurprising.

tested x86_64/linux

-benjamin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20090810-4.patch
Type: text/x-patch
Size: 6759 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20090811/63b4071b/attachment.bin>


More information about the Gcc-patches mailing list