[Top][All Lists]
[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.
- strtod.c compilation failure on i386/Solaris 10, Jim Meyering, 2008/04/12
- Re: strtod.c compilation failure on i386/Solaris 10, Simon Josefsson, 2008/04/12
- Re: strtod.c compilation failure on i386/Solaris 10,
Jim Meyering <=
- Re: strtod.c compilation failure on i386/Solaris 10, Eric Blake, 2008/04/12
- Re: strtod.c compilation failure on i386/Solaris 10, Jim Meyering, 2008/04/12
- Re: strtod.c compilation failure on i386/Solaris 10, Eric Blake, 2008/04/12
- Re: strtod.c compilation failure on i386/Solaris 10, Eric Blake, 2008/04/12
- Re: strtod.c compilation failure on i386/Solaris 10, Jim Meyering, 2008/04/12
- Re: strtod.c compilation failure on i386/Solaris 10, Jim Meyering, 2008/04/12
- Re: strtod.c compilation failure on i386/Solaris 10, Bruno Haible, 2008/04/12
- Re: strtod.c compilation failure on i386/Solaris 10, Jim Meyering, 2008/04/12
- Re: strtod.c compilation failure on i386/Solaris 10, Eric Blake, 2008/04/12