From owner-freebsd-arch Sun Mar 16 8:13:48 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 1EA5537B401; Sun, 16 Mar 2003 08:13:47 -0800 (PST) Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E08643F93; Sun, 16 Mar 2003 08:13:46 -0800 (PST) (envelope-from des@ofug.org) Received: by flood.ping.uio.no (Postfix, from userid 2602) id CABED5308; Sun, 16 Mar 2003 17:13:44 +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: Bruce Evans Cc: arch@FreeBSD.ORG, Maxime Henrion Subject: Re: WARNS=6 changes From: des@ofug.org (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=) Date: Sun, 16 Mar 2003 17:13:43 +0100 In-Reply-To: <20030317025513.I14238@gamplex.bde.org> (Bruce Evans's message of "Mon, 17 Mar 2003 02:58:13 +1100 (EST)") 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> <20030317025513.I14238@gamplex.bde.org> 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 Bruce Evans writes: > -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. My patch adds -std=whatever to CFLAGS independent of WARNS level as long as CSTD is defined. It removes -ansi but leaves -pedantic (at WARNS level 4 or 5 I think). 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