Greg, could you try instead applying the following patch (on top of unmodified 2.4.1) ?
<cmath> is supposed to be the official header for std::fabs. It might get indirectly included on other systems by accident. diff --git a/gdal/ogr/ogrlinestring.cpp b/gdal/ogr/ogrlinestring.cpp index 810ad2e..1d4da9c 100644 --- a/gdal/ogr/ogrlinestring.cpp +++ b/gdal/ogr/ogrlinestring.cpp @@ -31,6 +31,7 @@ #include "ogr_geos.h" #include "ogr_p.h" +#include <cmath> #include <cstdlib> #include <algorithm> #include <limits> Even -- Spatialys - Geospatial professional services http://www.spatialys.com _______________________________________________ gdal-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/gdal-dev
