[geos-devel] [GEOS] #516: platform.h doesn't work right for mingw64

GEOS geos-trac at osgeo.org
Wed Mar 7 00:53:35 EST 2012


#516: platform.h doesn't work right for mingw64
------------------------+---------------------------------------------------
 Reporter:  robe        |       Owner:  geos-devel@…              
     Type:  defect      |      Status:  new                       
 Priority:  major       |   Milestone:  3.3.3                     
Component:  Default     |     Version:  3.3.2                     
 Severity:  Unassigned  |    Keywords:                            
------------------------+---------------------------------------------------
 IT may not work right for ming32 either which would explain the numerous
 errors.

 Regarding what the spatialite guy did to hack the platform.h to hardcode
 the right answer:


 {{{
  typedef long long int int64;
 }}}

 He described in
 http://www.gaia-gis.it/spatialite-3.0.0-BETA/mingw64_how_to.html#libgeos


 When rebuilding my mingw 64 to make sure I didn't miss anything, I left
 out this step to see what would happen.  It compiled but I ended up with
 about 30 errors on make check.  Putting it back got me back to the single
 harmless IND failure.

 float-store was on in both situations.

-- 
Ticket URL: <http://trac.osgeo.org/geos/ticket/516>
GEOS <http://geos.refractions.net/>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).


More information about the geos-devel mailing list