This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Error building 1.4 on HP-UX
- From: Albert Chin <gsl-discuss at lists dot thewrittenword dot com>
- To: gsl-discuss at sources dot redhat dot com
- Date: Tue, 26 Aug 2003 17:07:04 -0500
- Subject: Error building 1.4 on HP-UX
- Reply-to: gsl-discuss at sources dot redhat dot com
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)