[gdal-dev] compulation error in trunk

Martin Landa landa.martin at gmail.com
Tue Jan 23 04:36:44 PST 2018


Hi,

I have problem compiling GDAL trunk on my Debian unstable machine:

gdalwarpkernel_opencl.cpp: In function '_cl_kernel*
get_kernel(oclWarper*, char, double, double, double, double, int, int,
int, int, cl_int*)':
gdalwarpkernel_opencl.cpp:1278:30: error: 'numeric_limits' is not a
member of 'std'
             dstMinVal = std::numeric_limits<float>::lowest();

gcc --version
gcc (Debian 7.2.0-19) 7.2.0

ocl-icd-libopencl1/unstable,testing,now 2.2.12-1 amd64 [installed]

In my case helped adding <limits> header into
gdalwarpkernel_opencl.cpp. Should I fill a bug report? Ma

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa


More information about the gdal-dev mailing list