[postgis-devel] [PostGIS] #1103: lwout_x3d.c warnings

PostGIS trac at osgeo.org
Mon Jul 4 02:58:25 PDT 2011


#1103: lwout_x3d.c warnings
---------------------+------------------------------------------------------
 Reporter:  strk     |       Owner:  robe         
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.0.0
Component:  postgis  |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------
 {{{

 lwout_x3d.c: In function ‘asx3d3_line_coords’:
 lwout_x3d.c:180: warning: passing argument 1 of ‘lwline_is_closed’
 discards qualifiers from pointer target type
 liblwgeom.h:1587: note: expected ‘struct LWLINE *’ but argument is of type
 ‘const struct LWLINE *’
 lwout_x3d.c: In function ‘asx3d3_mline_coordindex’:
 lwout_x3d.c:194: warning: zero-length gnu_printf format string
 lwout_x3d.c: In function ‘asx3d3_multi_buf’:
 lwout_x3d.c:431: warning: passing argument 1 of ‘asx3d3_mline_coordindex’
 from incompatible pointer type
 lwout_x3d.c:186: note: expected ‘const struct LWMLINE *’ but argument is
 of type ‘const struct LWCOLLECTION *’
 lwout_x3d.c:437: warning: passing argument 1 of ‘asx3d3_mpoly_coordindex’
 from incompatible pointer type
 lwout_x3d.c:233: note: expected ‘const struct LWMPOLY *’ but argument is
 of type ‘const struct LWCOLLECTION *’
 lwout_x3d.c:442: warning: return makes integer from pointer without a cast
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1103>
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