Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Mar 2003 16:29:57 -0800
From:      David O'Brien <obrien@FreeBSD.ORG>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        arch@FreeBSD.ORG
Subject:   Re: WARNS=6 changes
Message-ID:  <20030316162956.A78205@hub.freebsd.org>
In-Reply-To: <20030317025513.I14238@gamplex.bde.org>; from bde@zeta.org.au on Mon, Mar 17, 2003 at 02:58:13AM %2B1100
References:  <20030313192045.GG3819@elvis.mu.org> <20030316062315.GA75492@dragon.nuxi.com> <xzpof4bcu8b.fsf@flood.ping.uio.no> <20030317025513.I14238@gamplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 17, 2003 at 02:58:13AM +1100, Bruce Evans wrote:
> -ansi -pedantic is required to give a C compiler (C90).  Without it you
> don't even get warnings about errors, so it should be the first warning
> level.

I purposefully make WARNS=1 be only -Wall as that is all most people
outside of FreeBSD use.  Setting the standard (for the purpose of
warnings) sounds like a fine thing to do at WARNS=2 and above.

After reading RU's opinion that WARNS=X to be a constant set of warning
options, no variable portion,  I have to agree.
 
-- 
-- David    (obrien@FreeBSD.org)

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030316162956.A78205>