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
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
> > 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
> 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
I'm R'ing T' F'ing M' to try figure this out, but perhaps I can find the answer
faster
just by asking.
I'm going through a bunch of C (sometimes Fortran 77) code and changing the
type of
certain arrays, but of course I need to make absolutely sure that the functions
that
recieve those arrays ar