[GRASS-dev] Re: [GRASS GIS] #197: sfd support for r.terraflow

GRASS GIS trac at osgeo.org
Sat Jun 28 22:06:24 EDT 2008


#197: sfd support for r.terraflow
--------------------------+-------------------------------------------------
  Reporter:  adanner      |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect       |      Status:  new                      
  Priority:  major        |   Milestone:  6.4.0                    
 Component:  Raster       |     Version:  svn-develbranch6         
Resolution:               |    Keywords:  terraflow r.terraflow    
  Platform:  Unspecified  |         Cpu:  Unspecified              
--------------------------+-------------------------------------------------
Comment (by glynn):

 Replying to [comment:6 glynn]:

 > Correct. Which is why the interface needs to be fixed in C; i.e. add the
 "const" to the fields of "struct Option" in gis.h. Having the compiler
 remind people about this on a regular basis is the best way to make it
 happen.
 >
 > Actually, I'll look into that side of it now.

 Done. All of the fields of the Option, Flag and Module structures which
 might reasonably be initialised from string literals are now declared
 "const".

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


More information about the grass-dev mailing list