Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#167 closed defect (fixed)

Building failure with gcc 4.3

Reported by: frankie Owned by: mloskot
Priority: major Milestone:
Component: Core Version: 2.2.3
Severity: Unassigned Keywords:
Cc:

Description

Change History (6)

comment:1 by mloskot, 16 years ago

Just for records, the error is:

x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../source/headers -I../../source/headers/geos -I../../source/headers -DGEOS_VERSION=2.2.3 -g -O2 -MT Geometry.lo -MD -MP -MF .deps/Geometry.Tpo -c Geometry.cpp  -fPIC -DPIC -o .libs/Geometry.o
In file included from Geometry.cpp:29:
../../source/headers/geos/version.h:9:1: error: "GEOS_VERSION" redefined

I confirm the problem is with double definitions of GEOS_VERSION, in following files:

  • trunk\source\headers\geos\version.h
  • trunk\capi\geos_c.h

comment:2 by mloskot, 16 years ago

Milestone: 3.0.1
Owner: set to mloskot
Status: newassigned

Fixed the GEOS_VERSION redefinition error in trunk (r2141 and r2142)

comment:3 by mloskot, 16 years ago

Component: Build/InstallCore
Milestone: 3.0.13.1
Resolution: fixed
Status: assignedclosed

Fixed in trunk (r2143).

I've successfully built GEOS on Debian Lenny with GCC 4.3, so I'm closing it.

comment:4 by dylan, 16 years ago

Any idea when a new release of GEOS will be available that contains this fix? I can confirm that 3.0.0 will not compile on GCC 4.3

comment:5 by mloskot, 16 years ago

Dylan,

I have no idea. Better ask on the geos-devel list.

comment:6 by (none), 15 years ago

Milestone: 3.1.0

Milestone 3.1.0 deleted

Note: See TracTickets for help on using tickets.