Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Jun 2011 19:58:24 -0700
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        Eric McCorkle <eric@shadowsun.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Clang buildworld failure due to multiple definitions of __isnanf
Message-ID:  <20110627025824.GA90022@troutmask.apl.washington.edu>
In-Reply-To: <4E07EBA2.70500@shadowsun.net>
References:  <4E07EBA2.70500@shadowsun.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jun 26, 2011 at 10:32:02PM -0400, Eric McCorkle wrote:
> 
> A better solution, I think, is to modify math.h with something like this:
> 
> #ifdef __clang__
> #define isnan(n) __builtin_isnan(n)
> ...
> #endif

Please, no.  Don't touch math.h.

-- 
Steve



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