From owner-freebsd-current@FreeBSD.ORG Tue Nov 20 22:41:03 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E686816A418 for ; Tue, 20 Nov 2007 22:41:03 +0000 (UTC) (envelope-from jb@what-creek.com) Received: from what-creek.com (what-creek.com [66.111.37.70]) by mx1.freebsd.org (Postfix) with ESMTP id C83D013C4C6 for ; Tue, 20 Nov 2007 22:41:03 +0000 (UTC) (envelope-from jb@what-creek.com) Received: by what-creek.com (Postfix, from userid 102) id 4AADD73301; Tue, 20 Nov 2007 22:43:37 +0000 (GMT) Date: Tue, 20 Nov 2007 22:43:37 +0000 From: John Birrell To: John Merryweather Cooper Message-ID: <20071120224337.GB12810@what-creek.com> References: <543425.44000.qm@web50704.mail.re2.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <543425.44000.qm@web50704.mail.re2.yahoo.com> User-Agent: Mutt/1.4.2.3i Cc: ????????? Bill Hacker , freebsd-current@freebsd.org Subject: Re: Tinderbox X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Nov 2007 22:41:04 -0000 On Tue, Nov 20, 2007 at 07:35:42AM -0800, John Merryweather Cooper wrote: > Could not -fno-strict-aliasing be considered as just another WARN level? > At least then, there might be some pressure to eliminate strict aliasing > warnings as a necessary component to moving to a higher WARN level. > This is something I'd like to do right now as "a step in the right direction". RCS file: /u/freebsd/cvsup/src/src/share/mk/bsd.sys.mk,v retrieving revision 1.43 diff -r1.43 bsd.sys.mk 11,12d10 < NO_WERROR= < 78a77,80 > .if defined(NO_WARNS) || (defined(WARNS) && ${WARNS} == 0) > CFLAGS += -fno-strict-aliasing > .endif > and remove it from the default CFLAGS in sys.mk -- John Birrell