Subject: Re: elink3 bites (was Re: new i386 snapshot (finally))
To: Jonathan Stone <jonathan@DSG.Stanford.EDU>
From: Chris G. Demetriou <cgd@pa.dec.com>
List: port-i386
Date: 07/12/1997 22:52:30
> It worth explicitly initializing j to shut up GCC in this case?
> CGD argues no, they are not kernel errors, they are erroneous compiler
> warnings, and turns off these warnings in the Alpha port's Makefile.

>From the Alpha Makefile.alpha:

CWARNFLAGS?=    -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \
                -Wno-format 

I don't see -Wno-unused, and I just fixed a whole bunch of 'unused'
lossaged in the MI kernel to allow NetBSD/alpha's kernel to compiler
without -O.  8-)

They're not (necessarily) kernel bugs, but -Wunused _has_ given me
useful information.  I mark any fixes that I make where gcc's
obviously wrong with "XXX gcc -Wunused".


cgd