[gdal-dev] fail to building GDAL in AIX 7.1
Ivan Lucena
lucena_ivan at hotmail.com
Fri Feb 5 11:24:06 PST 2016
I am getting this error:
/usr/local/remote/packages/gcc_remote/4.2.1/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/4.2.1/../../../../include/c++/4.2.1/cmath:447: error: 'long double std::tanh(long double)' conflicts with previous using declaration 'long double tanh(long double)'
gdalwarpkernel.cpp: In function 'void GWKAverageOrModeThread(void*)':
gdalwarpkernel.cpp:5017: error: call of overloaded 'ceil(float)' is ambiguous
/usr/include/math.h:975: note: candidates are: long double ceil(long double)
/usr/include/math.h:945: note: float ceil(float)
/usr/include/math.h:345: note: double ceil(double)
I don't get this error when building with gcc 4.7.1 in a Linux 64 Intel environment.
Is this error related to the gcc version or AIX? Any suggestions?
Regards,
Ivan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20160205/8e96308b/attachment.html>
More information about the gdal-dev
mailing list