Re: [gdal-dev] GDAL 2.1.2 compilation error

2016-12-11 Thread Even Rouault
> I worked around the problem by making a float-type-only copy of the > templated function VRTComplexSource::RasterIOInternal() and calling that > instead inside "vrtfilters.cpp" and GCC 4.6.3 seems to be happy with that. I've reproduced the issue with another compiler and fixed it with https://t

Re: [gdal-dev] GDAL 2.1.2 compilation error

2016-11-10 Thread Craig Bruce
On 11/09/2016 04:14 PM, Even Rouault wrote: and it builds fine. Both with gcc 4.6.0 that comes with the DVD, and 4.6.3 after the updates. So it would seem that it is one of the dependency that might cause the issue (which seems odd) It's very strange.  It

Re: [gdal-dev] GDAL 2.1.2 compilation error

2016-11-09 Thread Even Rouault
Craig, I've downloaded a Fedora 15 x86_64 DVD iso (setup with Development environment) and just tried on GDAL 2.1.2 ./configure \ --disable-shared \ --enable-static \ --with-pic \ --without-ld-shared \ --without-libtool and it builds fine. Both

[gdal-dev] GDAL 2.1.2 compilation error

2016-11-09 Thread Craig Bruce
I'm trying to build GDAL 2.1.2 on Fedora 15 Linux.  I'm using a complicated environment and collection of .a files (because .so's are like a box of chocolates) and running into a some GDAL-internal function that's missing: g++ -L/cw/builds_3p/linux_f15_x64/lib gdalin