[postgis-devel] [PostGIS] #839: error: too many arguments to function GEOSisValidDetail

PostGIS trac at osgeo.org
Fri Feb 18 13:01:12 PST 2011


#839: error: too many arguments to function GEOSisValidDetail
---------------------+------------------------------------------------------
 Reporter:  mloskot  |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.0.0
Component:  postgis  |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------
 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
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/839>
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-devel mailing list