Jim Meyering <[EMAIL PROTECTED]> writes:

> In wading through coreutils build reports for 60+ systems, I see a new 
> failure:
>
>   strtod.c: In function `rpl_strtod':
>   strtod.c:155: error: incompatible types in assignment
>   strtod.c:170: error: incompatible types in assignment
>   strtod.c:257: error: wrong type argument to unary minus
>   make[3]: *** [strtod.o] Error 1
>
> Here are the lines in question, each followed by cpp-translated code:
>
>                 num = HUGE_VAL;
>           num = __builtin_huge_val;
>
>                 num = NAN;
>           num = __builtin_nan;
>
>   return negative ? -HUGE_VAL : HUGE_VAL;
>   return negative ? -__builtin_huge_val : __builtin_huge_val;
>
>
> SunOS powell 5.10 Generic_127112-11 i86pc i386 i86pc Solaris
> gcc version 3.3

I have seen this as well, see:

http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2513

I suspected that the compiler had been built on another system than the
one I used though.  Is this the case for you as well?

Is changing it to HUGE the wrong thing?

/Simon


Reply via email to