[postgis-tickets] [PostGIS] #2218: json broken on windows

PostGIS trac at osgeo.org
Thu Feb 28 19:05:04 PST 2013


#2218: json broken on windows
---------------------+------------------------------------------------------
 Reporter:  robe     |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  blocker  |   Milestone:  PostGIS 2.1.0
Component:  postgis  |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------
 I'm putting this in just so I remember, but winnie has been coughing up
 blood


 {{{
 In file included from
 c:/ming64/projects/json-c/rel-0.9w64/include/json/json_util.h:15:0,
                  from
 c:/ming64/projects/json-c/rel-0.9w64/include/json/json.h:23,
                  from lwin_geojson.c:20:
 c:/ming64/projects/json-c/rel-0.9w64/include/json/json_object.h:233:60:
 error: expected ')' before 'b'
 c:/ming64/projects/json-c/rel-0.9w64/include/json/json_object.h:246:16:
 error: expected '=', ',', ';', 'asm' or '__attribute__' before
 'json_object_get_boolean'
 In file included from lwin_geojson.c:21:0:
 c:/ming64/projects/json-c/rel-0.9w64/include/json/json_object_private.h:31:5:
 error: expected specifier-qualifier-list before 'boolean'
 make[1]: *** [lwin_geojson.lo] Error 1
 make[1]: Leaving directory `/c/jenkins/postgis/branches/2.1/liblwgeom'
 make: *** [all] Error 1
 }}}


  since strk's recent migration of json support to liblwgeom.
 at r11119

 I suspect its the same issue as when we tried to migrate some other stuff
 before.  something to do with order of includes or double includes,
 conflicting includes that may only be an issue on windows.

 I'll test on my local box when I get back to verify if its just a simple
 misconfiguration on winnie or something that needs to be fixed in code
 base.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2218>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list