[geos-devel] [#317] Build configuration for CMake build system

Sandro Santilli strk at keybit.net
Thu Jan 28 03:23:36 EST 2010


On Wed, Jan 27, 2010 at 10:13:45PM +0000, Mateusz Loskot wrote:

> http://trac.osgeo.org/geos/ticket/317#comment:21
> 
> I explicitly add -D_ISOC99_SOURCE=1 for checks of isfinite and it passes
> for me.
> 
> Could you give it another shot and test?

I will shortly. Meanwhile here's a test on OpenSUSE:

In file included from /net/lafont/home/santisa/src/geos/trunk/include/geos/io/WKBWriter.h:26,
                 from /net/lafont/home/santisa/src/geos/trunk/src/geom/Geometry.cpp:53:
/net/lafont/home/santisa/src/geos/trunk/include/geos/util/Machine.h: In function ‘int getMachineByteOrder()’:
/net/lafont/home/santisa/src/geos/trunk/include/geos/util/Machine.h:22: error: redefinition of ‘int getMachineByteOrder()’
/net/lafont/home/santisa/src/geos/trunk/include/geos/platform.h:99: error: ‘int getMachineByteOrder()’ previously defined here

-> gcc (GCC) 4.3.2
-> cmake version 2.6-patch 2

--strk; 

  ()   Free GIS & Flash consultant/developer
  /\   http://foo.keybit.net/~strk/services.html


More information about the geos-devel mailing list