bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: strtod.c compilation failure on i386/Solaris 10


From: Jim Meyering
Subject: Re: strtod.c compilation failure on i386/Solaris 10
Date: Sat, 12 Apr 2008 11:16:15 +0200

Simon Josefsson <address@hidden> wrote:
> Jim Meyering <address@hidden> 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?

Hi Simon,

I rarely use that system, and don't know how the
tools were built -- will investigate.

Thanks!

> Is changing it to HUGE the wrong thing?

I don't know, off hand.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]