[Liblas-devel] R: Visual Studio 2010 error

esteban70 at libero.it esteban70 at libero.it
Tue Jan 26 08:31:03 EST 2010

I've found that the problem depends on Windows headers that provide 'min' e 
'max' macros.

In fact I get also the following error:

utility.hpp(253): warning C4003: not enough actual parameters for macro 'min'

Maybe it's not the right place to ask but how can i resolve this?

Best regard


>----Messaggio originale----
>Da: esteban70 at libero.it
>Data: 26/01/2010 12.55
>A: <liblas-devel at lists.osgeo.org>
>Ogg: Visual Studio 2010 error
>I'm using Visual Studio 2010 Beta 2 and the latest version on liblas.
>Using "#include <liblas/lasreader.hpp>" cause this error:
>utility.hpp(253): error C2589: '(' : illegal token on right side of '::'
>at the line
>T const rmin = std::numeric_limits<T>::min();
>I'm a C++ newby so i wasn't able to figure where the error is. Any help?
>Thanks in advance.

More information about the Liblas-devel mailing list