Clang buildworld failure due to multiple definitions of __isnanf

Steve Kargl sgk at troutmask.apl.washington.edu
Mon Jun 27 02:58:25 UTC 2011


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


More information about the freebsd-current mailing list