Ticket #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: | trunk |
| 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
Note: See
TracTickets for help on using
tickets.
