[v3] Avoid debu-mode, -Wall fails

Paolo Carlini paolo.carlini@oracle.com
Sat Jul 19 20:14:00 GMT 2008


Hi,

noticed when testing with CXXFLAGS="-O2 -g -Wall -D_GLIBCXX_DEBUG". The relatively more interesting one is 27_io/basic_istream/extractors_arithmetic/char/11.cc, due to an unused variable warning, which could be fixed by not using everywhere the trick of libstdc++/21674, but only when strictly necessary, for string.

Tested x86_64-linux, committed to mainline.

Paolo.

///////////////////
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CL_debug_mode_warnings.txt
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20080719/abb93ad8/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch_debug_mode_warnings.txt
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20080719/abb93ad8/attachment-0001.txt>


More information about the Libstdc++ mailing list