[geos-devel] [GEOS] #766: Patch for StringTokenizer.cpp to include std::numeric
GEOS
geos-trac at osgeo.org
Wed Jan 27 11:25:15 PST 2016
#766: Patch for StringTokenizer.cpp to include std::numeric
------------------------+--------------------------
Reporter: jmckenna | Owner: geos-devel@…
Type: defect | Status: new
Priority: major | Milestone: 3.5.1
Component: Default | Version: 3.5.0
Severity: Unassigned | Keywords:
------------------------+--------------------------
The following compile error occurs on Windows with Visual Studio 2008,
with the GEOS 3.5.0 release, with trunk, and with branch 3.5:
{{{
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.
}}}
--
Ticket URL: <https://trac.osgeo.org/geos/ticket/766>
GEOS <http://trac.osgeo.org/geos>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).
More information about the geos-devel
mailing list