This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: pedantic
- To: Joe Buck <jbuck at synopsys dot com>
- Subject: Re: pedantic
- From: Jason Merrill <jason at cygnus dot com>
- Date: 09 Nov 1998 13:56:03 -0800
- Cc: egcs at cygnus dot com
- References: <199811091802.KAA09591@atrus.synopsys.com>
>>>>> Joe Buck <jbuck@Synopsys.COM> writes:
>> I'd like to be able to set the pedantic_errors flag without setting
>> pedantic, so that code that is using gratuitously erroneous code that we
>> still know how to handle can be an error, but strict standards
>> conformance is not enforced. Thoughts?
> I'm not sure I understand: what would the effect be? I presume certain
> warnings would become errors, but which ones? How would this differ
> from -Werror?
The effect would be to turn pedwarns into errors. Other warnings would not
be affected, and pedwarns that we only give with -pedantic would also not
be affected.
Jason