Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Apr 2003 07:55:12 -0800
From:      "David O'Brien" <obrien@FreeBSD.org>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        Marcel Moolenaar <marcel@xcllnt.net>
Subject:   Re: cvs commit: src/libexec/talkd announce.c extern.h print.c table.c talkd.c
Message-ID:  <20030403155512.GB17860@dragon.nuxi.com>
In-Reply-To: <20030403180026.A29934@gamplex.bde.org>
References:  <200304030513.h335DR60079544@repoman.freebsd.org> <20030402231638.A81523@FreeBSD.org> <20030403055049.GA67232@dhcp01.pn.xcllnt.net> <20030403180026.A29934@gamplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



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