Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Apr 2003 18:04:25 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Marcel Moolenaar <marcel@xcllnt.net>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/libexec/talkd announce.c extern.h print.ctable.c talkd.c
Message-ID:  <20030403180026.A29934@gamplex.bde.org>
In-Reply-To: <20030403055049.GA67232@dhcp01.pn.xcllnt.net>
References:  <200304030513.h335DR60079544@repoman.freebsd.org> <20030403055049.GA67232@dhcp01.pn.xcllnt.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 2 Apr 2003, Marcel Moolenaar wrote:

> Please, everybody, do not set WARNS=5 on anything because it breaks
> non-optimized builds:
>
> cc -g -mcpu=pentiumpro -I/usr/local/src/fpi/cpu/..   -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
> -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wuninitialized  -c decode.c
> cc1: warnings being treated as errors
> cc1: warning: -Wuninitialized is not supported without -O
> *** Error code 1

Too late:

./bin/df/Makefile:WARNS?=	5
./games/random/Makefile:WARNS?=	5
./lib/csu/alpha/Makefile:WARNS?=	6
./lib/libypclnt/Makefile:WARNS?=	5
./sbin/devfs/Makefile:WARNS?=	5
./sbin/nfsiod/Makefile:WARNS?=	6
./tools/regression/geom/ConfCmp/Makefile:WARNS=	5
./tools/regression/geom/GLib/Makefile:WARNS =		5
./tools/regression/geom/Test/Makefile.inc:WARNS=		5
./usr.bin/chpass/Makefile:WARNS?=	5
./usr.bin/fetch/Makefile:WARNS?=		5
./usr.bin/lsvfs/Makefile:WARNS?=	6
./usr.bin/unifdef/Makefile:WARNS?=	5
./usr.bin/whereis/Makefile:WARNS?=	5
./usr.bin/xargs/Makefile:WARNS?=	6
./usr.sbin/burncd/Makefile:WARNS?=	5
./usr.sbin/extattr/Makefile:WARNS?=	5

This is mostly a bug in the implementation of WARNS.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030403180026.A29934>