From owner-freebsd-arch Sun Mar 16 5:32:40 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 826DD37B401; Sun, 16 Mar 2003 05:32:39 -0800 (PST) Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 51E0F43F3F; Sun, 16 Mar 2003 05:32:38 -0800 (PST) (envelope-from des@ofug.org) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 0DD945308; Sun, 16 Mar 2003 14:32:37 +0100 (CET) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: arch@freebsd.org Cc: Maxime Henrion Subject: Re: WARNS=6 changes From: des@ofug.org (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=) Date: Sun, 16 Mar 2003 14:32:36 +0100 In-Reply-To: <20030316062315.GA75492@dragon.nuxi.com> ("David O'Brien"'s message of "Sat, 15 Mar 2003 22:23:15 -0800") Message-ID: User-Agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.2 References: <20030313192045.GG3819@elvis.mu.org> <20030316062315.GA75492@dragon.nuxi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 "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=c89) is responsable for all the 'long long' > warnings and that is why it was done at WARNS==6. Since that will go > away, maybe we should turn on -std= 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. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message