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 Frank >----Messaggio originale---- >Da: [email protected] >Data: 26/01/2010 12.55 >A: <[email protected]> >Ogg: Visual Studio 2010 error > >Hello, > >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. > >Frank _______________________________________________ Liblas-devel mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/liblas-devel
