<div dir="ltr">Hi Joaquim,<div><br></div><div>I broke the build with <a href="https://trac.osgeo.org/gdal/changeset/31403/">https://trac.osgeo.org/gdal/changeset/31403/</a>. Even created a ticket: <a href="https://trac.osgeo.org/gdal/ticket/6212">https://trac.osgeo.org/gdal/ticket/6212</a> and I added your error message to the ticket.</div><div><br></div><div><a href="http://build.gisinternals.com/sdk/Default.aspx">http://build.gisinternals.com/sdk/Default.aspx</a> has been down, so it's been tough to see what is happening.<br></div><div><br></div><div>It looks like with my latest fix that the max macro is indeed gone, but now it looks like you are hitting trouble with C++11. I've just submitted <a href="https://trac.osgeo.org/gdal/changeset/31463">https://trac.osgeo.org/gdal/changeset/31463</a> which might fix the issue. Can you do a svn update, try again and let me know what you get?</div><div><br></div><div>Thanks,</div><div>-kurt</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 13, 2015 at 10:46 AM, Joaquim Luis <span dir="ltr"><<a href="mailto:jluis@ualg.pt" target="_blank">jluis@ualg.pt</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The error is<br>
<br>
v:\gdal\frmts\hdf4\hdf4imagedataset.cpp(2386) : error C2784: '_Ty std::max(std::initializer_list<_Elem>,_Pr)' : could not deduce template argument for 'std::initializer_list<_Elem>' from 'int'<br>
c:\program files (x86)\microsoft visual studio 12.0\vc\include\algorithm(4108) : see declaration of 'std::max'<br>
<br>
Joaquim<br>
_______________________________________________<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="http://lists.osgeo.org/mailman/listinfo/gdal-dev" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">--<div><a href="http://schwehr.org" target="_blank">http://schwehr.org</a></div></div>
</div>