Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jan 2003 17:00:38 +0000
From:      Tony Finch <dot@dotat.at>
To:        Juli Mallett <jmallett@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/lib/libufs Makefile
Message-ID:  <20030130170038.D31480@chiark.greenend.org.uk>
In-Reply-To: <200301300011.h0U0B1vw026210@repoman.freebsd.org>; from jmallett@FreeBSD.org on Wed, Jan 29, 2003 at 04:11:01PM -0800
References:  <200301300011.h0U0B1vw026210@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 29, 2003 at 04:11:01PM -0800, Juli Mallett wrote:
> 
>   WARNS ?= 2, so idiocy like 1.12 of type.c doesn't have to happen again.

I like to compile my code with these flags:

-pipe -O -g -ansi -U__STRICT_ANSI__ -pedantic -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings

(The -U is to avoid braindamage in glibc's headers.)

Tony.
-- 
f.a.n.finch  <dot@dotat.at>  http://dotat.at/
VIKING NORTH UTSIRE: NORTHERLY 6 TO GALE 8, OCCASIONALLY SEVERE GALE 9 IN
VIKING AT FIRST, BECOMING VARIABLE OR SOUTHWESTERLY 3 OR 4. SNOW SHOWERS THEN
RAIN. MODERATE OR GOOD.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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