Hi Joaquim, I broke the build with https://trac.osgeo.org/gdal/changeset/31403/. Even created a ticket: https://trac.osgeo.org/gdal/ticket/6212 and I added your error message to the ticket.
http://build.gisinternals.com/sdk/Default.aspx has been down, so it's been tough to see what is happening. 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 https://trac.osgeo.org/gdal/changeset/31463 which might fix the issue. Can you do a svn update, try again and let me know what you get? Thanks, -kurt On Fri, Nov 13, 2015 at 10:46 AM, Joaquim Luis <[email protected]> wrote: > The error is > > 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' > c:\program files (x86)\microsoft visual studio > 12.0\vc\include\algorithm(4108) : see declaration of 'std::max' > > Joaquim > _______________________________________________ > gdal-dev mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/gdal-dev -- -- http://schwehr.org
_______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
