how to make gcc stop when there is a warning

Ben Elliston bje@au1.ibm.com
Fri May 12 02:02:00 GMT 2006


> As such, I'd like to tell gcc to quit when a warning is encountered
> (or even if a specific warning is encountered). Is there a way to do
> this?

Yes.  -Werror.  If you can tell us why you weren't able to find it in
the documentation, perhaps we can address that!

Cheers, Ben



More information about the Gcc mailing list