-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 - 00:42:57 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:13:36 MST