https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70400

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Richard Yao from comment #0)
> GCC will only emit a warning when -pendantic is specified and adding
> -std=c90 does not change the behavior to a warning. The documentation for
> -pedantic clearly states that things disallowed by the specification emit
> errors:
> 
> https://gcc.gnu.org/onlinedocs/gcc-4.9.3/gcc/Warning-Options.html

No, it clearly states that it produces warnings (I count six mentions of
warnings and none of errors). And it clearly says -pedantic-errors means you
get errors not warnings.

Reply via email to