Le mercredi 27 janvier 2016 19:06:12, Jeff McKenna a écrit : > Hello everyone, > > Compiling on Windows with Visual Studio 2008 I get the same errors with > the 3.5.0 release, SVN trunk, and branch 3.5, but I can't find any > mention of this problem in Trac or on this list. Here is the error: > > **** > StringTokenizer.cpp > io\StringTokenizer.cpp(60) : error C2039: 'numeric_limits' : is not a > member of 'std' > io\StringTokenizer.cpp(60) : error C2065: 'numeric_limits' : undeclared > identifier > io\StringTokenizer.cpp(60) : error C2062: type 'double' unexpected > io\StringTokenizer.cpp(60) : error C2039: 'infinity' : is not a member > of '`global namespa > ce'' > io\StringTokenizer.cpp(62) : error C2039: 'numeric_limits' : is not a > member of 'std' > io\StringTokenizer.cpp(62) : error C2065: 'numeric_limits' : undeclared > identifier > io\StringTokenizer.cpp(62) : error C2062: type 'double' unexpected > io\StringTokenizer.cpp(62) : error C2039: 'infinity' : is not a member > of '`global namespa > ce'' > io\StringTokenizer.cpp(67) : error C2039: 'numeric_limits' : is not a > member of 'std' > io\StringTokenizer.cpp(67) : error C2065: 'numeric_limits' : undeclared > identifier > io\StringTokenizer.cpp(67) : error C2062: type 'double' unexpected > io\StringTokenizer.cpp(67) : error C2039: 'quiet_NaN' : is not a member > of '`global namesp > ace'' > NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio > 9.0\VC\BIN\cl.EXE"' > > : return code '0x2' > > Stop. > NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio > 9.0\VC\BIN\nmake.EXE > "' : return code '0x2' > Stop. > **** > > If I had to guess, I would guess that these are C89 issues (not > declaring variables at beginning of the block).
C89 and .cpp file, no ;-) I'd rather bet that #include <limits> would fix that > > -jeff -- Spatialys - Geospatial professional services http://www.spatialys.com _______________________________________________ geos-devel mailing list geos-devel@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/geos-devel