[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fri, 22 Mar 2002 17:03:44 +0000
> 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.
GCC has a habit of generating some curious warnings, but its usually worth
fixing them so that it doesnt complaine. I've caught some obscure portability
bugs over the years by just fixing tings that seemed like pointless pedantry
on the part of GCC.
Though not as many as I have by realising that you should never, ever, *ever*
compile anything with optimisations above -O and expect it to work reliably on
an my platform other than the one you developed it on.
- PSclip, Pete French, 2002/03/22