This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC: -Wall by default


On 8 April 2012 20:54, Robert Dewar wrote:
> On 4/8/2012 3:37 PM, Jonathan Wakely wrote:
>
>> Again, that also applies when people use -Wall today: a false positive
>> is unwanted even if you use -Wall, and those false positives are bugs
>> and so having them in bugzilla is good.
>
>
> Do you really want me to file hundreds of bug reports that are for
> cases of uninitialized variables well known to everyone, and well
> understood by everyone, and not easy to fix (or would have been
> fixed long ago)?

No, because those are already in bugzilla, and there's a whole wiki
page about improving that particular warning.

But I'd be just as happy with a -Wstandard (by any name) enabled by
default as I would be with -Wall on by default. Only enabling warnings
with very little chance of false positives would avoid most of the
negative consequences.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]