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]

Re: pedantic


>>>>> 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


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