[GRASS-dev] Re: [GRASS GIS] #308: Compiler error while building python swig

GRASS GIS trac at osgeo.org
Thu Sep 11 04:12:19 EDT 2008


#308: Compiler error while building python swig
----------------------------------+-----------------------------------------
  Reporter:  cgsbob               |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect               |      Status:  new                      
  Priority:  major                |   Milestone:  6.4.0                    
 Component:  SWIG (all bindings)  |     Version:  svn-develbranch6         
Resolution:                       |    Keywords:  python swig              
  Platform:  Unspecified          |         Cpu:  Unspecified              
----------------------------------+-----------------------------------------
Comment (by hamish):

 Hamish:
 > > I suspect that #defines should be filtered out (-e '/#/d').

 Glynn:
 > Agreed.


 It happens that filtering out /^#/ also filters out any '#include <foo.h>'
 etc.
 include/vect/dig_structs.h is the most diverse example of that, with
 #defined constants, structs, and #ifdef HAVE_OGR etc.

 also include/Vect.h #includes the dig_*.h files in include/vect/,
 should those be followed? stdio.h? grass/gis.h?


 Hamish

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/308#comment:7>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list