Error building 1.4 on HP-UX
Albert Chin
gsl-discuss@lists.thewrittenword.com
Tue Aug 26 22:07:00 GMT 2003
cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. +O1 -Ae +ESlit +DAportable
+Oentrysched -c gauss.c +Z -DPIC -o .libs/gauss.lo
cc: "gauss.c", line 317: error 1560: Modifiable lvalue required with
operator "--".
cc: "gauss.c", line 317: error 1563: Expression in if must be scalar.
gmake[2]: *** [gauss.lo] Error 1
gmake[2]: Leaving directory `/opt/build/gsl-1.4/cdf'
The problem occurs because cdf/gauss.c has:
...
#define GAUSS_XLOWER -37.519
...
else if (x > (-GAUSS_XLOWER))
The following works:
else if (x > (-(GAUSS_XLOWER)))
--
albert chin (china@thewrittenword.com)
More information about the Gsl-discuss
mailing list