Paul de Vrieze | 24 Feb 16:01
X-Face
Picon
Favicon

Re: [RFC] custom-cflags global USE

On Friday 23 February 2007, Chris Gianelloni wrote:
> On Fri, 2007-02-23 at 01:40 +0100, Carsten Lohrke wrote:
> > And I'd be fond of having all the -ffast-math filtering ripped out of the
> > tree as well.
>
> Except some things really do not compile with it enabled.  Now, if
> you're meaning you'd prefer patch every compilation failure using
> -ffast-math instead, then I'd say go for it.  Patches are always a
> better solution than workarounds.

Except that software not working with -ffast-math is not in the wrong at all. 
It is like specifying -fno-rtti for a c++ program. If rtti is not used, this 
is fine. It is a part of the standard however, and this makes the compiler 
not except all standard-compliant code. These options are there to enable 
better code generation when it is known that the named features are not 
needed. They should never be globally enabled.

Paul

--

-- 
Paul de Vrieze
Gentoo Developer
Mail: pauldv <at> gentoo.org
Homepage: http://www.devrieze.net

Gmane