Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Mar 2003 17:13:43 +0100
From:      des@ofug.org (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=)
To:        Bruce Evans <bde@zeta.org.au>
Cc:        arch@FreeBSD.ORG, Maxime Henrion <mux@FreeBSD.ORG>
Subject:   Re: WARNS=6 changes
Message-ID:  <xzp7kazcmrs.fsf@flood.ping.uio.no>
In-Reply-To: <20030317025513.I14238@gamplex.bde.org> (Bruce Evans's message of "Mon, 17 Mar 2003 02:58:13 %2B1100 (EST)")
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
Bruce Evans <bde@zeta.org.au> 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




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