From owner-freebsd-arch Sun Mar 16 16:29:58 2003 Delivered-To: freebsd-arch@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 664) id 1E27D37B401; Sun, 16 Mar 2003 16:29:57 -0800 (PST) Date: Sun, 16 Mar 2003 16:29:57 -0800 From: David O'Brien To: Bruce Evans Cc: arch@FreeBSD.ORG Subject: Re: WARNS=6 changes Message-ID: <20030316162956.A78205@hub.freebsd.org> Reply-To: arch@freebsd.org References: <20030313192045.GG3819@elvis.mu.org> <20030316062315.GA75492@dragon.nuxi.com> <20030317025513.I14238@gamplex.bde.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20030317025513.I14238@gamplex.bde.org>; from bde@zeta.org.au on Mon, Mar 17, 2003 at 02:58:13AM +1100 X-Operating-System: FreeBSD 4.8-RC Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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