Re: GCC & errors

From: Robert Collins <robert.collins@dont-contact.us>
Date: Fri, 9 Mar 2001 19:41:12 +1100

Well -Wall turns on most errors.
I actuall find -pedantic turns on less errors that
-Wall -W
which was realllllly pedantic.

Still, up to the individual :]

the following link is useful for reference purposes..
http://gcc.gnu.org/onlinedocs/gcc_3.html#SEC10

Rob

----- Original Message -----
From: "Henrik Nordstrom" <hno@hem.passagen.se>
To: "Robert Collins" <robert.collins@itdomain.com.au>
Cc: <squid-dev@squid-cache.org>
Sent: Friday, March 09, 2001 10:14 AM
Subject: Re: GCC & errors

> -pedantic gives a bit too many errors, but there are quite many
warning
> flags that can be enabled in GCC. I strongly recommend at least using
> -Werror to not accidently overlook one warning..
>
> /Henrik
>
>
> Robert Collins wrote:
> >
> > can I suggest that developers test their code building
with -pedantic
> > (ie in the Makefile
> > AC_CFLAGS = -g -O2 -Wall -pedantic
> > )
> >
> > or
> > CFLAGS = '-g -O2 -Wall -pedantic' ../srctree/configure ....
> >
> > That has got me at least some of the errors Adrian is seeing with
irix
> > (different report format, same error AFAICT)
> >
> > Rob
>
Received on Fri Mar 09 2001 - 01:37:43 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:13:36 MST