Subject: Re: GCC warnings when fixing LP64?
To: Kevin P. Neal <>
From: Simon Burge <>
List: port-alpha
Date: 04/10/2000 14:53:17
"Kevin P. Neal" wrote:

> What gcc warnings are useful when looking for LP64 botches in code?
> I'm using this:
> CFLAGS+= -Wall -pedantic -Wmissing-prototypes -Wmissing-declarations \
>          -Wpointer-arith -Wcast-qual -Wconversion -Wstrict-prototypes \
>          -Wredundant-decls -Wnested-externs -Winline
> Is this overkill? I'm ending up with thousands apon thousands of
> warnings. (Ok, 90% of them are redeclarations of errno, "but still!")

For NetBSD kernel code at least, -Wredundant-decls causes _many_
problems with <sys/conf.h> because of redundant {b,c}decl declarations.