Opened 13 years ago

Closed 13 years ago

#839 closed defect (worksforme)

error: too many arguments to function GEOSisValidDetail

Reported by: mloskot Owned by: mloskot
Priority: medium Milestone: PostGIS 2.0.0
Component: postgis Version: master
Keywords: Cc:

Description

Trying to build trunk r6846 with GEOS from its SVN trunk rev3215 on Linux 64-bit using GCC 4.4.4 and getting the following error:

lwgeom_geos.c: In function ‘isvaliddetail’:
lwgeom_geos.c:1926: warning: passing argument 2 of ‘GEOSisValidDetail’ makes pointer from integer without a cast
/usr/local/include/geos_c.h:785: note: expected ‘char **’ but argument is of type ‘int’
lwgeom_geos.c:1926: warning: passing argument 3 of ‘GEOSisValidDetail’ from incompatible pointer type
/usr/local/include/geos_c.h:785: note: expected ‘struct GEOSGeometry **’ but argument is of type ‘char **’
lwgeom_geos.c:1926: error: too many arguments to function ‘GEOSisValidDetail’
make[1]: *** [lwgeom_geos.o] Error 1
make[1]: Leaving directory `/home/mloskot/dev/postgis/_svn/trunk/postgis'
make: *** [all] Error 1

Change History (2)

comment:1 by mloskot, 13 years ago

Owner: changed from pramsey to mloskot
Status: newassigned

comment:2 by mloskot, 13 years ago

Resolution: worksforme
Status: assignedclosed

After update to GEOS rev3223 and full rebuilds, the problem is gone. Closing.

Note: See TracTickets for help on using tickets.