cvs commit: src/libexec/talkd announce.c extern.h print.c
obrien at FreeBSD.org
Thu Apr 3 07:55:34 PST 2003
On Thu, Apr 03, 2003 at 06:04:25PM +1000, Bruce Evans wrote:
> 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
> This is mostly a bug in the implementation of WARNS.
Agreed. Lets fix it instead of not using warns 5 & 6.
More information about the cvs-all