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

2020-12-22 Thread Bugbuster
This works perfectly. Thanks It is just an ugly patch before I can witch to a more modern compiler -- Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailm

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

2020-12-22 Thread Mateusz Loskot
On Tue, 22 Dec 2020 at 12:47, Bugbuster wrote: > > You may be right about the update of VS2015. > My version is 19.00.23026 (to be compared to yours : 19.00.23506) > > An I do have the error with the small test you sent. > > Do you have any idea declare/initialize the NaN attribute in another way

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

2020-12-22 Thread Bugbuster
You may be right about the update of VS2015. My version is 19.00.23026 (to be compared to yours : 19.00.23506) An I do have the error with the small test you sent. Do you have any idea declare/initialize the NaN attribute in another way ? I do not any easy way to update my compiler :-( -- S

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

2020-12-22 Thread Mateusz Loskot
On Tue, 22 Dec 2020 at 11:11, Bugbuster 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

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

2020-12-22 Thread Bugbuster
My environnement is : * Windows 10 * Visual C++ 2015 64 bits 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