[postgis-tickets] [PostGIS] #2885: [raster] : raster2pgsql append_stringbuffer assignment discards 'const'

PostGIS trac at osgeo.org
Thu Aug 7 18:33:53 PDT 2014


#2885: [raster] : raster2pgsql append_stringbuffer assignment discards 'const'
--------------------+-------------------------------------------------------
 Reporter:  robe    |       Owner:  dustymugs    
     Type:  defect  |      Status:  new          
 Priority:  medium  |   Milestone:  PostGIS 2.2.0
Component:  raster  |     Version:  trunk        
 Keywords:          |  
--------------------+-------------------------------------------------------
 {{{
 x86_64-w64-mingw32-gcc -g -O2  -DDLL_EXPORT -DPIC  -Wall -Wmissing-
 prototypes  -I../rt_core  -I../../liblwgeom
 -I/projects/proj/rel-4.8.0w64gcc48/include
 -I/projects/gdal/rel-1.11.0w64gcc48/include
 -I/projects/geos/rel-3.5.0devw64gcc48/include    -I/projects/rel-
 libiconv-1.13.1w64gcc48/include -c raster2pgsql.c
 raster2pgsql.c: In function 'append_stringbuffer':
 raster2pgsql.c:809:35: warning: assignment discards 'const' qualifier from
 pointer target type [enabled by default]
   buffer->line[buffer->length - 1] = str;

 }}}

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