src.contrib problems...

Andrew Hertz hertz at geog.psu.edu
Sat Apr 3 02:12:12 EST 1993


Many thanks, I replaced all occurrences of ABS with abs - they all
seemed to be integer calls - and voila, all built successfully.

> ABS is a #define that was somehow missing from the code. YOu can
> either figure out where it is used in the code and replace it
> with abs() for integer, of fabs()( for floats. Or define it
> 
> #define ABS(x) ( (x) < 0 : -(x) : (x) )
> 
> Although for all but constants these kinds of #define contructs
> are fraught with gotchas. Best use the abs() or fabs().
> 
 
Thanks again for the help,
 
Andrew Hertz
hertz at geog.psu.edu




More information about the grass-user mailing list