[postgis-devel] Warnings compiling PostGIS 1.2.1 with GEOS 3 RC4

Mark Cave-Ayland mark.cave-ayland at ilande.co.uk
Thu Feb 8 13:46:22 PST 2007


Hi guys,

I get the following warnings from lwgeom_geos_c.c on Win32 when
compiling PostgreSQL 8.2/PostGIS 1.2.1 against GEOS 3.0.0rc4, but not
against GEOS 2.2.3. Does anyone know whether or not this will cause
problems?


(cut)

gcc -I/home/mca/pg82/rel-8.2.0/include -L/lib -DUSE_VERSION=82
-DPOSTGIS_LIB_VERSION='"1.2.1"' -DPOSTGIS_VERSION='"1.2 USE_GEOS=1
USE_PROJ=1 USE_STATS=1"' -DPOSTGIS_SCRIPTS_VERSION='"1.2.1"'
-DPOSTGIS_BUILD_DATE='"2007-02-08 16:25:48"'
-I/home/mca/proj/rel-4.5.0/include -DUSE_PROJ
-IC:/msys/1.0/home/mca/pg82/REL-82~1.0/include/POSTGR~1/server
-IC:/msys/1.0/home/mca/pg82/REL-82~1.0/include/POSTGR~1/server/port/win32 -DAUTOCACHE_BBOX=1  -DUSE_STATS -Wall -O2 -fPIC -fexceptions -DUSE_GEOS -I/home/mca/geos/rel-3.0.0rc4/include     -c -o lwgeom_geos_c.o lwgeom_geos_c.c
lwgeom_geos_c.c:1: warning: -fPIC ignored for target (all code is
position independent)
lwgeom_geos_c.c: In function `GEOS2LWGEOM':
lwgeom_geos_c.c:2430: warning: assignment discards qualifiers from
pointer target type
lwgeom_geos_c.c:2439: warning: assignment discards qualifiers from
pointer target type
lwgeom_geos_c.c:2449: warning: assignment discards qualifiers from
pointer target type
lwgeom_geos_c.c:2450: warning: assignment discards qualifiers from
pointer target type
lwgeom_geos_c.c:2454: warning: assignment discards qualifiers from
pointer target type
lwgeom_geos_c.c:2455: warning: assignment discards qualifiers from
pointer target type
lwgeom_geos_c.c:2476: warning: assignment discards qualifiers from
pointer target type
lwgeom_geos_c.c: In function `polygonize_garray':
lwgeom_geos_c.c:2815: warning: passing arg 1 of `GEOSPolygonize' from
incompatible pointer type
lwgeom_geos_c.c: In function `LWGEOM_buildarea':
lwgeom_geos_c.c:2965: warning: passing arg 1 of `GEOSPolygonize' from
incompatible pointer type
lwgeom_geos_c.c:3008: warning: assignment discards qualifiers from
pointer target type

(...etc...)


Kind regards,

Mark.





More information about the postgis-devel mailing list