[Bug c/59520] a possible inconsistency in error diagnostics with "-pedantic -std=c99"
joseph at codesourcery dot com
gcc-bugzilla@gcc.gnu.org
Wed Dec 18 11:32:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59520
--- Comment #3 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
On Wed, 18 Dec 2013, manu at gcc dot gnu.org wrote:
> > The main concerns for diagnostics in such cases are (a) that they are
> > meaningful and (b) that invalid code gets at least one error with
> > -pedantic-errors, and at least one warning or error with -pedantic.
> > There may be less consistency in what's a warning / error if -pedantic
> > rather than -pedantic-errors is used.
>
> So merely using -pedantic may produce errors that do not appear without
> -pedantic? Is that really a desired behavior?
Not desired, but considered less important than the main concerns for
these options that I listed above.
More information about the Gcc-bugs
mailing list