This is the mail archive of the gsl-discuss@sources.redhat.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Error building 1.4 on HP-UX


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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]