Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#178 closed defect (fixed)

GEOS fails to build under GCC 4.3.0

Reported by: jey Owned by: mloskot
Priority: major Milestone:
Component: Core Version: main
Severity: Unassigned Keywords:
Cc:

Description

Attached is a patch to allow GEOS trunk r2123 to build against GCC 4.3.0. I tested this on Linux under i686 and amd64.

Additional random note: I had to remove "-ansi -pedantic" from the configure default CXXFLAGS too, but I was using libstdc++'s parallel mode and think this is a bug in libstdc++. I'll try a build with the regular libstdc++ and look into this further.

Attachments (1)

geos-r2123-gcc-4.3.0.patch (6.0 KB ) - added by jey 16 years ago.
patch to allow GEOS to build under GCC 4.3.0

Download all attachments as: .zip

Change History (6)

by jey, 16 years ago

Attachment: geos-r2123-gcc-4.3.0.patch added

patch to allow GEOS to build under GCC 4.3.0

comment:1 by mloskot, 16 years ago

Jey,

As a word of review, the patch looks very good to me. It improves C++ code strictness and should not break compilation with compilers other than new GCC. So, I'd recommend to apply it.

comment:2 by mloskot, 16 years ago

Component: Build/InstallCore
Milestone: 3.1
Owner: set to mloskot
Status: newassigned

Most of Jey's fixes have been already applied (r2131)

comment:3 by mloskot, 16 years ago

This ticket is partially a duplicate of #167

comment:4 by mloskot, 16 years ago

Resolution: fixed
Status: assignedclosed

As confirmed in ticket #167, after recent submission (r2143) GEOS should compile using GCC 4.3 without any problems (not counting number of warnings). Closing as fixed.

comment:5 by (none), 15 years ago

Milestone: 3.1.0

Milestone 3.1.0 deleted

Note: See TracTickets for help on using tickets.