Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Nov 2007 22:43:37 +0000
From:      John Birrell <jb@what-creek.com>
To:        John Merryweather Cooper <john_m_cooper@yahoo.com>
Cc:        ????????? Bill Hacker <askbill@conducive.net>, freebsd-current@freebsd.org
Subject:   Re: Tinderbox
Message-ID:  <20071120224337.GB12810@what-creek.com>
In-Reply-To: <543425.44000.qm@web50704.mail.re2.yahoo.com>
References:  <543425.44000.qm@web50704.mail.re2.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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