[Liblas-devel] R: Visual Studio 2010 error

Mateusz Loskot mateusz at loskot.net
Tue Jan 26 17:32:03 EST 2010


esteban70 at libero.it wrote:
> I've found that the problem depends on Windows headers that provide 'min' e 
> 'max' macros.

Yes, it's a well-known problem on Windows.
Please, refer to this document from Microsoft support:

http://support.microsoft.com/kb/143208

> In fact I get also the following error:
> 
> utility.hpp(253): warning C4003: not enough actual parameters for macro 'min'

As promised today, I committed the fix to libLAS repository:

http://liblas.org/changeset/1514%3A09b9b4ed037a

Best regards,
-- 
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org


More information about the Liblas-devel mailing list