Opened 13 years ago
Last modified 13 years ago
#471 closed defect
GEOSisValidDetailTest fails with MSVC 2008 — at Initial Version
Reported by: | bgp2000 | Owned by: | mloskot |
---|---|---|---|
Priority: | major | Milestone: | 3.3.1 |
Component: | Unit Tests | Version: | 3.3.0 |
Severity: | Unassigned | Keywords: | MSVC |
Cc: |
Description
... capi::GEOSisValidDetail: ..NOTICE: ParseException: Expected number but encountered word: 'NaN' ... ---> group: capi::GEOSisValidDetail, test: test<3>
problem: assertion failed
...
The problem is in the lines:
geom_ = GEOSGeomFromWKT("LINESTRING(0 0, 10 0, NaN -5)"); ensure(0 != geom_);
At least on Windows strtod() does not accept the string "NaN".
Note:
See TracTickets
for help on using tickets.