------- Comment #1 from pinskia at gcc dot gnu dot org  2007-11-09 18:48 -------
This works for me:
cc1plus: warnings being treated as errors
t.c:3: warning: unused parameter 'a'
t.c:3: warning: unused parameter 'b'
t.c: In function 'float f(float, float)':
t.c:6: warning: control reaches end of non-void function
1

g++ -W -Wall t.c -S -Werror ;echo $?


-- 


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

Reply via email to