1 Nov 2003 05:22
Re: CVS commit: src/sys/conf
Valeriy E. Ushakov <uwe <at> ptc.spbu.ru>
2003-11-01 04:22:25 GMT
2003-11-01 04:22:25 GMT
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 <at> ptc.spbu.ru | Zu Grunde kommen
http://www.ptc.spbu.ru/~uwe/ | Ist zu Grunde gehen
RSS Feed