pkgsrc-Users archive

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

Re: Error building m4 on Solaris 10



Hi!

Gerardo Santana Gómez Garrido 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;
> 
> 
> -- 
> Gerardo Santana

Could you give us more information?
which package (gnu m4?), compiler version etc.

--
Adam


Home | Main Index | Thread Index | Old Index