[RFC] : Compiling libstdc++ with warnings on
chris jefferson
caj@cs.york.ac.uk
Thu Dec 22 16:48:00 GMT 2005
Paolo Carlini wrote:
> Paolo Carlini wrote:
>
>
>> Hi Chris,
>>
>> and thanks!
>>
>>
>>> attach to this mail my current patch.
>>>
>>>
>> Maybe ;)
>>
>>
>>
> Is it clear that in fact the patch never showed up?!?
>
>
Sorry, I decided to clean up the patch some more, and got carried away.
Anyway, here is the current version, attached really this time, with
Changelog. Obviously at this point I'm not expecting any replies on this
until after the new year ;)
It looks very long and nasty, but really almost all of it is fairly
mechanical. The only remaining failures if you give add
"-Wall -Wextra -Wsystem-headers -Wno-missing-field-initializers
-Wno-missing-braces" to scripts/testsuite_flags.in (if you try this
yourself, not that scripts/testsuite_flags doesn't automatically get
rebuilt, you have to delete it to force it to be remade).
Are:
FAIL: 17_intro/no_assert_neg.cc (test for excess errors)
Excess errors:
In file included from
/Users/caj/gccdev/trunkobj/powerpc-apple-darwin8.3.0/libstdc++-v3
/include/bits/stl_algobase.h:64,
from
/Users/caj/gccdev/trunkobj/powerpc-apple-darwin8.3.0/libstdc++-v3
/include/algorithm:65,
from
/Users/caj/gccdev/trunk/libstdc++-v3/testsuite/17_intro/no_assert
_neg.cc:32:
/Users/caj/gccdev/trunkobj/powerpc-apple-darwin8.3.0/libstdc++-v3/include/powerpc-apple
-darwin8.3.0/bits/c++config.h:106:1: warning: "__GLIBCXX__" redefined
<command line>:1:1: warning: this is the location of the previous definition
I just can't figure out the flag that would turn this one off (it would
have to be added to this test case)
FAIL: ext/pb_assoc/example/mapping_level.cc
(I don't know what this code is.. the error is about dereferencing a
type-pruned pointer.. anyone want to admit to being in charge of this code?)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ChangeLog-testsuite
Type: application/text
Size: 6416 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20051222/1f050a85/attachment.bin>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch_testsuite
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20051222/1f050a85/attachment.ksh>
More information about the Libstdc++
mailing list