From owner-cvs-all Fri May 18 21:22:16 2001 Delivered-To: cvs-all@freebsd.org Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by hub.freebsd.org (Postfix) with ESMTP id 06F3837B422; Fri, 18 May 2001 21:21:53 -0700 (PDT) (envelope-from grog@lemis.com) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id F26846ACBE; Sat, 19 May 2001 13:26:58 +0930 (CST) Date: Sat, 19 May 2001 13:26:58 +0930 From: Greg Lehey To: arch@FreeBSD.org Cc: Ruslan Ermilov , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: Compiler-neutral warning flags Message-ID: <20010519132658.H64759@wantadilla.lemis.com> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010518203024.A20917@xor.obsecurity.org>; from kris@obsecurity.org on Fri, May 18, 2001 at 08:30:24PM -0700 Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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