[Bug driver/44209] Some warnings are not linked to diagnostics options

2010-05-20 Thread redi at gcc dot gnu dot org


--- Comment #2 from redi at gcc dot gnu dot org  2010-05-20 11:45 ---
N.B. Bug 44054 is the PR for the fortran FE to support -Werror= etc.


-- 


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



[Bug driver/44209] Some warnings are not linked to diagnostics options

2010-05-20 Thread redi at gcc dot gnu dot org


--- Comment #1 from redi at gcc dot gnu dot org  2010-05-20 11:40 ---
IMHO this is an enhancement request, not severity=Major

-Werror is not on by default, if you choose to enable it then you deal with the
consequences.

Obviously the ideal is for every warning to be controllable by an option, but
until that happens gcc behaves as documented and if -Werror is not suitable for
your program then don't use it.


-- 


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