how to make gcc stop when there is a warning

2006-05-11 Thread D. Ensign
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

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