[geos-devel] GEOS 3.0.2 fails to compile under MingW Win32

Sean Gillies sgillies at frii.com
Mon Oct 20 09:42:24 EDT 2008


Mark Cave-Ayland wrote:
> On Sun, 2008-10-19 at 21:48 +0100, Mark Cave-Ayland wrote:
> 
>> My current solution is the attached patch which works by replacing
>> strdup() with a simple malloc() and strcpy() to preserve the old locale.
>> Note that this will almost certainly need to be applied to the 3.1
>> branch too, although I haven't got as far as trying to compile it on
>> Win32 - yet ;)
> 
> And as if by magic:
> http://trac.osgeo.org/geos/ticket/212
> 
> Cool. In that case, please can this be backported to the 3.0 branch? And
> I think we also need to backport the gcc-4.3 fixes since Debian and SUSE
> are now using gcc-4.3 by default (see
> http://postgis.refractions.net/pipermail/postgis-devel/2008-October/003939.html for the SUSE confirmation, and my local machine as of 2 hours ago is the Debian Lenny confirmation).
> 
> 
> ATB,
> 
> Mark.

Mark,

Sorry about not seeing the problem on windows until now. I've backported
and am testing locally (linux) and am game to commit the fix of #212 to
the 3.0 branch. What do you think, Mateusz?

Sean



More information about the geos-devel mailing list