Opened 11 years ago

Last modified 11 years ago

#616 closed defect

Build failure with VS2012 — at Version 3

Reported by: jluis Owned by: geos-devel@…
Priority: major Milestone: 3.4.0
Component: Default Version: main
Severity: Unassigned Keywords:
Cc:

Description (last modified by mloskot)

Using cmake and VS2012 fails with

C:\programs\compa_libs\geos_SVN\src\operation\buffer\BufferOp.cpp(91) : error C2589: '(' : illegal token on right side of '::'
C:\programs\compa_libs\geos_SVN\src\operation\buffer\BufferOp.cpp(91) : error C2059: syntax error : '::'

it also prints the following warning (I think it didn't when I tried to build version 3.3.5)

C:\programs\compa_libs\geos_SVN\include\geos/precision/GeometryPrecisionReducer.h(154) : warning C4512: 'geos::precision::GeometryPrecisionReducer' : assignment operator could not be generated
        C:\programs\compa_libs\geos_SVN\include\geos/precision/GeometryPrecisionReducer.h(42) : see declaration of 'geos::precision::GeometryPrecisionReducer'

Change History (3)

comment:1 by strk, 11 years ago

Milestone: 3.3.73.4.0

I thought this was fixed. 3.3.7 is out already. Have you tried it ?

comment:2 by jluis, 11 years ago

Sorry for the wrong milestone. It was already set to 3.3.7 and I didn't notice.

No, I didn't try 3.3.7 as I am using the trunk version (r3754). BTW, I changed 'std::max' to 'max' and the build continued much further but still failed with

C:\programs\compa_libs\geos_SVN\capi\geos_ts_c.cpp(97) : fatal error C1083: Cannot open include file: '../geos_svn_revision.h': No such file or directory

comment:3 by mloskot, 11 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.