From owner-freebsd-arch Sun Mar 16 7:58:23 2003 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 938D137B401; Sun, 16 Mar 2003 07:58:22 -0800 (PST) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 09AB243F75; Sun, 16 Mar 2003 07:58:21 -0800 (PST) (envelope-from bde@zeta.org.au) Received: from katana.zip.com.au (katana.zip.com.au [61.8.7.246]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id CAA15350; Mon, 17 Mar 2003 02:58:14 +1100 Date: Mon, 17 Mar 2003 02:58:13 +1100 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?= Cc: arch@FreeBSD.ORG, Maxime Henrion Subject: Re: WARNS=6 changes In-Reply-To: Message-ID: <20030317025513.I14238@gamplex.bde.org> References: <20030313192045.GG3819@elvis.mu.org> <20030316062315.GA75492@dragon.nuxi.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Content-Transfer-Encoding: QUOTED-PRINTABLE 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 Sun, 16 Mar 2003, Dag-Erling [iso-8859-1] Sm=F8rgrav wrote: > "David O'Brien" writes: > > I am all for this change of making our C standard level C99. > > Do you think we should do this for lower WARNS than 6? As far as > > warnings go, -ansi (aka, -std=3Dc89) is responsable for all the 'long l= ong' > > warnings and that is why it was done at WARNS=3D=3D6. Since that will = go > > away, maybe we should turn on -std=3D at a lower WARNS. > > Hmm, I think it should be a separate knob. We can merge it into WARNS > later, but for now, we should just remove -ansi / -pedantic from > WARNS, and add a CSTD knob which can be either c89 or c99. -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. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message