[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fri, 22 Mar 2002 17:15:16 +0000 (GMT)
> > One thing puzzles me though - how come -Wall didnt throw this up as a
> > warning
> > in the compile as surely it should generate a "may be used before
> > cwbeing initialised" type thing ?
> Turns out it's not using -Wall at all (if you don't have debug=yes, but
> IIRC gcc doesn't do all the flow analysis then). I tried recompiling all
> of xgps with -Wall, and there are a lot of warnings.
Yes - I now forced -Wall on xgps in any case, and for both C and ObjC.
Just an idea - should we perhaps keep the -O2 flag even when debug=yes is
That would make sure when you use debug=yes you get all the warnings ...
<and I think if you use debug=yes, it's because you are debugging and
definitely you want as many useful warnings as possible - in particular,
you *do* want the flow analysis warnings>
I'm quite sure gcc is supposed to be able to manage `-O2 -g' pretty well
... but perhaps it might make things more difficult when debugging ?
Does -O2 cause problems when debugging ?
- Re: PSclip,
Nicola Pero <=