bug-gnulib
[Top][All Lists]
Advanced

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

strtod.c compilation failure on i386/Solaris 10


From: Jim Meyering
Subject: strtod.c compilation failure on i386/Solaris 10
Date: Sat, 12 Apr 2008 09:46:19 +0200

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




reply via email to

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