[C++ Patch] PR 50810 (new try)

Paolo Carlini paolo.carlini@oracle.com
Mon Oct 24 12:29:00 GMT 2011


Hi,

the below is a new variant removing -Wc++0x-compat from -Wall (cannot be 
added to -Wextra either because bootstrap passes -W) and also, as 
requested by Gaby, preventing -Wno-narrowing from suppressing the 
warning in C++0x mode (if the user really needs to silence it, 
-Wno-c++0x-compat works). I also added a new testcase for that.

Booted and tested x96_64-linux.

Ok?

Thanks,
Paolo.

PS: alternately, I'm attaching a simpler variant which leaves 
-Wno-narrowing active in C++0x mode.

/////////////////////
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CL_50810_5
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20111024/2468eb28/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch_50810_5
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20111024/2468eb28/attachment-0001.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CL_50810_4
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20111024/2468eb28/attachment-0002.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch_50810_4
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20111024/2468eb28/attachment-0003.ksh>


More information about the Gcc-patches mailing list