Re: Clang buildworld failure due to multiple definitions of __isnanf

From: Steve Kargl <sgk_at_troutmask.apl.washington.edu>
Date: Sun, 26 Jun 2011 19:58:24 -0700
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
Received on Mon Jun 27 2011 - 00:58:25 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:15 UTC