This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] cpplib: -Wno-endif-labels
On Fri, Mar 22, 2002 at 10:03:50PM +0000, Neil Booth wrote:
> Phil Edwards wrote:-
>
> > Really? I didn't realize -pedantic trumped /later/ options. (I'm not
> > arguing, just expressing surprise.)
>
> Hmm. Maybe you're right. I just was thinking of safety, in that if
> the user has requested -pedantic then we're non-conforming if we don't
> output a diagnostic. I wonder what others like Zack or Joseph think.
By analogy with -Wno-long-long, it shouldn't. I can easily see a
situation where someone needed all the mandatory diagnostics except
this one (which was triggered by some third party library header, say,
that couldn't be changed).
zw