[postgis-devel] [PostGIS] #1207: Can't compile under Windows mingw since raster commit

PostGIS trac at osgeo.org
Thu Sep 22 17:40:52 PDT 2011


#1207: Can't compile under Windows mingw since raster commit
----------------------------+-----------------------------------------------
 Reporter:  robe            |       Owner:  pracine      
     Type:  defect          |      Status:  new          
 Priority:  blocker         |   Milestone:  PostGIS 2.0.0
Component:  postgis raster  |     Version:  trunk        
 Keywords:                  |  
----------------------------+-----------------------------------------------
 Since the ST_Intersects feature add, I don't seem to be able to compile
 anymore.

 Getting all sorts of weird errors:


 {{{
 rt_api.c:8492: error: redefinition of 'hasnodataL'
 rt_api.c:8312: error: previous definition of 'hasnodataL' was here
 rt_api.c:8492: warning: passing arg 1 of `rt_band_get_hasnodata_flag'
 makes pointer from integer without a cast
 rt_api.c:8492: error: initializer element is not constant
 rt_api.c:8492: warning: data definition has no type or storage class
 rt_api.c:8493: error: syntax error before "if"
 rt_api.c:8499: warning: type defaults to `int' in declaration of
 `hasnodataL'
 rt_api.c:8499: error: redefinition of 'hasnodataL'
 rt_api.c:8492: error: previous definition of 'hasnodataL' was here
 rt_api.c:8499: error: redefinition of 'hasnodataL'

 }}}

 See attached build log files.

 I'm compiling against gdal trunk  r23095.

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