[geos-devel] [GEOS] #616: Build failure with VS2012

GEOS geos-trac at osgeo.org
Fri Jan 25 09:16:07 PST 2013


#616: Build failure with VS2012
------------------------+---------------------------------------------------
 Reporter:  jluis       |       Owner:  geos-devel@…              
     Type:  defect      |      Status:  new                       
 Priority:  major       |   Milestone:  3.4.0                     
Component:  Default     |     Version:  svn-trunk                 
 Severity:  Unassigned  |    Keywords:                            
------------------------+---------------------------------------------------
Description changed by mloskot:

Old description:

> 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'

New description:

 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'
 }}}

--

-- 
Ticket URL: <http://trac.osgeo.org/geos/ticket/616#comment:3>
GEOS <http://geos.refractions.net/>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).


More information about the geos-devel mailing list