Re: how to make gcc stop when there is a warning

2006-05-12 Thread lopezibanez
Richard, if the documentation would have said explicitly that Werror "makes warnings to prevent compilation", would you have understood it better? One proposal: -Werror makes all warnings into errors, preventing compilation (see also -Wfatal-errors). On 12/05/06, Richard Guenther <[EMAIL PROT

Re: how to make gcc stop when there is a warning

2006-05-12 Thread Richard Guenther
On 5/12/06, D. Ensign <[EMAIL PROTECTED]> wrote: > > 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

Re: how to make gcc stop when there is a warning

2006-05-11 Thread D. Ensign
> > 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! Partly, because I never lear

Re: how to make gcc stop when there is a warning

2006-05-11 Thread Ben Elliston
> 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