This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: how to make gcc stop when there is a warning
- From: Ben Elliston <bje at au1 dot ibm dot com>
- To: "D. Ensign" <densign at stanford dot edu>
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 12 May 2006 12:03:28 +1000
- Subject: Re: how to make gcc stop when there is a warning
- References: <1147399153.4463ebf18aa28@webmail.stanford.edu>
> 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