From owner-cvs-all Fri May 18 20:30:35 2001 Delivered-To: cvs-all@freebsd.org Received: from obsecurity.dyndns.org (adsl-63-207-60-32.dsl.lsan03.pacbell.net [63.207.60.32]) by hub.freebsd.org (Postfix) with ESMTP id AED8937B424; Fri, 18 May 2001 20:30:24 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 4DA7067B2A; Fri, 18 May 2001 20:30:24 -0700 (PDT) Date: Fri, 18 May 2001 20:30:24 -0700 From: Kris Kennaway To: Greg Lehey Cc: arch@FreeBSD.org, Ruslan Ermilov , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Compiler-neutral warning flags Message-ID: <20010518203024.A20917@xor.obsecurity.org> Reply-To: arch@FreeBSD.org References: <200105181040.f4IAeYi56574@freefall.freebsd.org> <20010519111635.I7513@wantadilla.lemis.com> <20010518191949.A2362@xor.obsecurity.org> <20010519124613.C64759@wantadilla.lemis.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="MGYHOYXEY6WxJCY8" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010519124613.C64759@wantadilla.lemis.com>; from grog@lemis.com on Sat, May 19, 2001 at 12:46:13PM +0930 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 --MGYHOYXEY6WxJCY8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. >=20 > 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. 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. Kris --MGYHOYXEY6WxJCY8 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.5 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE7BejPWry0BWjoQKURAroJAJ9nKS9pMA4PpHPWaBTJ+vVJeREs1wCgihow euw4LqgrapshM+CNyjP0Q8k= =Xv5x -----END PGP SIGNATURE----- --MGYHOYXEY6WxJCY8-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message