RFC: PATCH to adjust warning flags for C++
Jason Merrill
jason@redhat.com
Wed Nov 2 02:28:00 GMT 2011
On 11/01/2011 03:48 PM, Gabriel Dos Reis wrote:
> On Tue, Nov 1, 2011 at 12:54 PM, Jason Merrill<jason@redhat.com> wrote:
>> Paolo Carlini's patch to add -Wnarrowing to -Wc++0x-compat (and thus -Wall)
>> broke bootstrap because of narrowing warnings, so I'd like to add
>> -Wno-narrowing to the stage 2+ warning flags. Is this the best way to do
>> that?
>
> why do we want to include -Wc++0x-compat in -Wall?
It's already included. And I think that "your code won't work in C++11"
is a warning that most C++ programmers will be interested in if they are
asking for warnings.
Jason
More information about the Gcc-patches
mailing list