[postgis-tickets] [PostGIS] #2790: SET_VARSIZE redefined
PostGIS
trac at osgeo.org
Sun Jun 29 19:32:28 PDT 2014
#2790: SET_VARSIZE redefined
--------------------+-------------------------------------------------------
Reporter: robe | Owner: colivier
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 2.2.0
Component: sfcgal | Version: trunk
Keywords: |
--------------------+-------------------------------------------------------
Comment(by robe):
No inclusion of postgis_config.h at all. Only include I see is
in lwgeom_sfcgal.h
which just has:
{{{
#include "liblwgeom.h"
#include <SFCGAL/capi/sfcgal_c.h>
}}}
That might be the problem. The other files we have include
liblwgeom_internal.h (instead of liblwgeom.h direct) and
liblwgeom_internal.h in turn includes postgis_config.h + liblwgeom.h among
other things.
So what is better explicitly add postgis_config.h or swap out the
liblwgeom.h call with liblwgeom_internal.h (which includes other stuff
which I'm not sure is okay to mix with sfcgal)
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2790#comment:3>
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