[geos-devel] [#317] Build configuration for CMake build system
Mateusz Loskot
mateusz at loskot.net
Fri Jan 29 22:37:12 EST 2010
Sandro Santilli wrote:
> 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
There must be old platform.h sitting in your source tree.
The platform.h.cmake does not define getMachineByteOrder function.
None of current platform.h versions define it. I moved it to Machine.h.
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org
More information about the geos-devel
mailing list