On Wed, 2005-05-25 at 10:13 +1000, Benno wrote:
> On Wed May 25, 2005 at 10:03:08 +1000, John Clarke wrote:

> >And I always try to fix warnings when they appear so that my code
> >compiles without generating any if possible, then any new warnings stand
> >out and don't become lost in the noise.
> 
> Absolutely, -Werror is brilliant for this because it *forces* you to fix
> the warnings. Or more importantly it forces others in the development team
> to fix them.

Yup - the central baz repository doesn't permit commits that fail to
build with 

-g -O2 -Wall -Werror -fno-strict-aliasing -Wstrict-prototypes \
 -Wmissing-prototypes -Wmissing-declarations -Wbad-function-cast \
-Wno-pointer-sign

- and personally .. I build with -Werror /all/ the time.

Rob

-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to