[gdal-dev] compulation error in trunk

Even Rouault even.rouault at spatialys.com
Tue Jan 23 04:40:17 PST 2018


On mardi 23 janvier 2018 13:36:44 CET Martin Landa wrote:
> 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,

I just committed this fix

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20180123/df3500bf/attachment.html>


More information about the gdal-dev mailing list