Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 May 2001 15:57:21 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        Ruslan Ermilov <ru@FreeBSD.org>, Peter Wemm <peter@wemm.org>, Warner Losh <imp@harmony.village.org>, Greg Lehey <grog@lemis.com>, Kris Kennaway <kris@obsecurity.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/usr.bin/scrshot Makefile
Message-ID:  <20010520155721.C37083@xor.obsecurity.org>
In-Reply-To: <Pine.BSF.4.21.0105202127090.43871-100000@besplex.bde.org>; from bde@zeta.org.au on Sun, May 20, 2001 at 09:41:15PM %2B1000
References:  <20010520140748.D3338@sunbay.com> <Pine.BSF.4.21.0105202127090.43871-100000@besplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--JgQwtEuHJzHdouWu
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, May 20, 2001 at 09:41:15PM +1000, Bruce Evans wrote:
> On Sun, 20 May 2001, Ruslan Ermilov wrote:
>=20
> > On Fri, May 18, 2001 at 10:24:23PM -0700, Peter Wemm wrote:
> > > Personally, I think we should implement the WARNS make variable from
> > > NetBSD.  It works there.  There is no need to be gratuitously differe=
nt.
>=20
> This is implemented now.
>=20
> > We already have DEBUG_FLAGS in bsd.prog.mk and bsd.lib.mk.
> > That should be sufficient for -Wfoo stuff.
>=20
> I think DEBUG_FLAGS is
> a) for debugging flags (-g, etc.) :-).
> b) completely under use control.  Currently, only a couple of Makefiles u=
nder
>    usr.sbin/acpi misuse it (but only in commented out code).
>=20
> There is also CWARNFLAGS, which used to be only for kernels...

This is now available for userland as well.  The problem I found is
that if you set CFLAGS in /etc/make.conf to set your "usual settings",
you can't override it on the command-line when you want more warnings.
You can now use CWARNFLAGS to do that, e.g.:

setenv CWARNFLAGS '${BDECFLAGS}'

Kris

--JgQwtEuHJzHdouWu
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

iD8DBQE7CEvQWry0BWjoQKURAnFHAJ0RakRnYy5P9FN4ZzUXe3kdXx+/bwCeJ4Ak
noykpWu/NcOG9afl3IDjk7M=
=BNvv
-----END PGP SIGNATURE-----

--JgQwtEuHJzHdouWu--

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?20010520155721.C37083>