pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Error building m4 on Solaris 10
On Fri, Apr 25, 2008 at 7:40 PM, Gerardo Santana Gómez Garrido
<gerardo.santana%gmail.com@localhost> wrote:
> This is the error message:
>
> gcc -std=gnu99 -I. -O -MT strtod.o -MD -MP -MF .deps/strtod.Tpo
> -c -o strtod.o strtod.c
> 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
> *** Error code 1
>
> The lines in question are:
>
> 155: num = HUGE_VAL;
> 170: num = NAN;
> 257: return negative ? -HUGE_VAL : HUGE_VAL;
>
For the record, Eric Blake was so kind to point me to a solution. This
is his message:
http://lists.gnu.org/archive/html/bug-m4/2008-04/msg00085.html
--
Gerardo Santana
Home |
Main Index |
Thread Index |
Old Index