Date: Sat, 19 May 2001 13:26:58 +0930 From: Greg Lehey <grog@lemis.com> To: arch@FreeBSD.org Cc: Ruslan Ermilov <ru@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: Compiler-neutral warning flags Message-ID: <20010519132658.H64759@wantadilla.lemis.com> In-Reply-To: <20010518203024.A20917@xor.obsecurity.org>; from kris@obsecurity.org on Fri, May 18, 2001 at 08:30:24PM -0700 References: <200105181040.f4IAeYi56574@freefall.freebsd.org> <20010519111635.I7513@wantadilla.lemis.com> <20010518191949.A2362@xor.obsecurity.org> <20010519124613.C64759@wantadilla.lemis.com> <20010518203024.A20917@xor.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Friday, 18 May 2001 at 20:30:24 -0700, Kris Kennaway wrote: > On Sat, May 19, 2001 at 12:46:13PM +0930, Greg Lehey wrote: >> On Friday, 18 May 2001 at 19:19:49 -0700, Kris Kennaway wrote: >>> On Sat, May 19, 2001 at 11:16:35AM +0930, Greg Lehey wrote: >>>> On Friday, 18 May 2001 at 3:40:34 -0700, Ruslan Ermilov wrote: >>>>> ru 2001/05/18 03:40:34 PDT >>>>> >>>>> Modified files: >>>>> usr.bin/scrshot Makefile >>>>> Log: >>>>> Remove GCC-ism (-Wall). >>>> >>>> I suspect I've missed something here. What's wrong with -Wall? >>> >>> It's a GCC-ism. >> >> I thought we were using gcc. What's the flag that provides equivalent >> functionality? > > We don't have a compiler-neutral way to do this. > > It would be great to be able to turn on -Werror and -Wall when > building with gcc, as various parts of the tree get clean, to prevent > the introduction of new warnings. Have I missed more than I thought? Are we contemplating using a different compiler? That would make it more reasonable. > NetBSD have a way to enable compiler warning flags (and other related > stuff, like compiling in debugging assertions) which we should > probably look into. I can take a look at this over the weekend. Sounds good. Greg -- Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010519132658.H64759>