Date: Wed, 2 Apr 2003 21:50:49 -0800 From: Marcel Moolenaar <marcel@xcllnt.net> To: Juli Mallett <jmallett@FreeBSD.org> Cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/libexec/talkd announce.c extern.h print.c table.c talkd.c Message-ID: <20030403055049.GA67232@dhcp01.pn.xcllnt.net> In-Reply-To: <20030402231638.A81523@FreeBSD.org> References: <200304030513.h335DR60079544@repoman.freebsd.org> <20030402231638.A81523@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Apr 02, 2003 at 11:16:40PM -0600, Juli Mallett wrote: > > On platforms with pointer alignment warnings, it's not really WARNS=5, > and I have not marked it as such for that reason. It is however now > WARNS=3 on those platforms, plus everything except the alignment issues. [Not picking on this particular commit] 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 The same happens with -O0 instead of -g. -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030403055049.GA67232>