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 think your call is the right way to go. It would be a useful QoI feature
if the option scanner sees
-opt1 -opt2 -pedantic -opt3
and told the user, "-pedantic overrides -opt3," assuming of course that
it did. But tracking all that would be a lot of work, I'm guessing.
Phil
--
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace. We seek
not your counsel, nor your arms. Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen. - Samuel Adams