Date: Wed, 27 Jan 1999 22:50:23 -0800 (PST) From: Archie Cobbs <archie@whistle.com> To: nate@mt.sri.com (Nate Williams) Cc: current@FreeBSD.ORG Subject: Re: btokup() macro in sys/malloc.h Message-ID: <199901280650.WAA24262@bubba.whistle.com> In-Reply-To: <199901280540.WAA26288@mt.sri.com> from Nate Williams at "Jan 27, 99 10:40:16 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
Nate Williams writes: > > In fact, style(9) should say: > > > > If at all possible, your code should compile without warnings > > when the gcc -Wall flag is given. > > I disagree. As has been shown many times in the past (and I suspect the > down-under constituent will show that at least a couple of the > 'warnings' fixes will be wrong and hide bogus code), making -Wall a goal > causes people to cover up bad code with bad casts and such. > > '-Wall' is *NOT* a good design goal. Well, I respectfully disagree with that. If you're "fixing" warnings by hiding them, then the problem is with the programmer, not the compiler. -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901280650.WAA24262>