<div dir="ltr">What exact error are you getting?</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Dec 16, 2022 at 3:31 PM Paul Meems <<a href="mailto:bontepaarden@gmail.com">bontepaarden@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hello List,<div><br>We're trying to update MapWinGIS which is using the GDAL libraries from <a href="http://gisinternals.com" target="_blank">gisinternals.com</a><div>Currently, we use the stable daily of December 9: <i>release-1928-gdal-3-5-mapserver-8-0</i></div><div><br></div><div>I'm using VS2019 (on Windows) to compile and I'm having issues with two lines in gdal_pam.h, around line 215.</div><div>We need to change these two lines:<br><ul><li><font face="monospace">constexpr int64_t GDAL_PAM_DEFAULT_NODATA_VALUE_INT64 = std::numeric_limits<int64_t>::min();</font></li><li><font face="monospace">constexpr uint64_t GDAL_PAM_DEFAULT_NODATA_VALUE_UINT64 = std::numeric_limits<uint64_t>::max();</font><br></li></ul></div><div>To</div><div><ul><li><font face="monospace">constexpr int64_t GDAL_PAM_DEFAULT_NODATA_VALUE_INT64 = LLONG_MIN;</font><br clear="all"></li><li><font face="monospace">constexpr uint64_t GDAL_PAM_DEFAULT_NODATA_VALUE_UINT64 = LLONG_MAX;</font><br></li></ul><div><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">I prefer not to alter the files from <a href="http://gisinternals.com" target="_blank">gisinternals.com</a>. Is this what we can solve on our end?</div><div dir="ltr">Is it related to the C++ version? We use these:<br><ul><li>ISO C++14 Standard (/std:c++14)<br></li><li>ISO C11 Standard (/std:c11)<br></li></ul>
<div>Thanks for any advice.</div><br>Paul Meems<br>
</div></div></div></div></div></div></div></div></div></div></div>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</blockquote></div>