Subject: Re: CVS commit: src/sys/conf
To: Christos Zoulas <christos@netbsd.org>
From: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
List: tech-toolchain
Date: 11/01/2003 07:22:25
On Sun, Oct 26, 2003 at 19:24:06 +0000, Christos Zoulas wrote:
> Module Name: src
> Committed By: christos
> Date: Sun Oct 26 19:24:06 UTC 2003
>
> Modified Files:
> src/sys/conf: Makefile.kern.inc
>
> Log Message:
> Delete -Wno-uninitialized. Tested on sparc64 and i386. Rationale:
> Gcc-3.3 produces valid warnings in most cases and uncovers bugs. In the
> cases where a variable is known to be initialized, we initialize it and
> add: /* XXX: gcc */. If a $MACHINE_ARCH's compiler is busted, it can add
> -Wno-uninitialized in the MD Makefile.
May be it makes sense to add
CWARNFLAGS+= ${CWARNFLAGS.${.IMPSRC:T}}
so that MD Makefile can see -Wno-uninitialized only for specific files?
SY, Uwe
--
uwe@ptc.spbu.ru | Zu Grunde kommen
http://www.ptc.spbu.ru/~uwe/ | Ist zu Grunde gehen