[gdal-dev] Visual C++ 2015: compiling error with GDAL 3.2

Mateusz Loskot mateusz at loskot.net
Tue Dec 22 02:33:30 PST 2020


On Tue, 22 Dec 2020 at 11:11, Bugbuster <philippe.ghesquiere at airbus.com> wrote:
>
> When compiling GDAL 3.2, I get an error in gcore/tilematrixset.hpp
> tilematrixset.hpp(47): error C2131: expression did not evaluate to a
> constant
> failure was caused by non-constant arguments or reference to a non-constant
> symbol
> note: see usage of 'std::numeric_limits<double>::quiet_NaN()'

VS 2015 should swallow that fine
https://rextester.com/LQPF72765

but, AFAIR, you need the latest update of the VS 2015
in order to get more complete C++11 support.

Best regards.
-- 
Mateusz Loskot, http://mateusz.loskot.net


More information about the gdal-dev mailing list