------- Comment #1 from pinskia at gcc dot gnu dot org  2006-11-08 19:30 -------
Already implemented in 4.2.0 and above:

-Werror=
    Make the specified warning into an errors. The specifier for a warning is
appended, for example -Werror=switch turns the warnings controlled by -Wswitch
into errors. This switch takes a negative form, to be used to negate -Werror
for specific warnings, for example -Wno-error=switch makes -Wswitch warnings
not be errors, even when -Werror is in effect. You can use the
-fdiagnostics-show-option option to have each controllable warning amended with
the option which controls it, to determine what to use with this option.

    Note that specifying -Werror=foo automatically implies -Wfoo. However,
-Wno-error=foo does not imply anything. 


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.2.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29768

Reply via email to