patch for Re: Inappropriate Warning Cannot Be Turned Off
John Marshall
john_w_marshall@palm.com
Wed Jun 7 22:48:00 GMT 2000
Nathan Sidwell wrote in various messages:
> Also, the meaning should be something like
> "Do not warn about confusing and commonly misunderstood
> parts of the standard"
> [perhaps the sense should be inverted, and the flag on by default]
>
> That way we can augment other parts of the compiler too. It shouldn't
> go into -Wall, as those warning (which I happen to like), can be turned
> off by suitable reworking of the source code.
I agree with all that, but especially that the sense should be inverted.
When you say `-Wwhatever' it implies that you are turning warnings *on*,
which isn't what's happening here.
> It just occurred to me that this should be called
> -Wlanguage-lawyer
Oh, I do like that :-), but I think the non-default option to suppress
the message needs to be of the form `-Wno-something'. My suggestion is
`-Wno-explications'
Inhibit warnings about confusing and commonly misunderstood parts
of the standard.
John
More information about the Gcc-bugs
mailing list