[GRASS-dev] Re: [GRASS GIS] #399: Added "backlink" functionality to r.walk, r.cost & r.drain

GRASS GIS trac at osgeo.org
Sun Dec 21 21:52:44 EST 2008


#399: Added "backlink" functionality to r.walk, r.cost & r.drain
--------------------------+-------------------------------------------------
  Reporter:  cnielsen     |       Owner:  grass-dev at lists.osgeo.org
      Type:  enhancement  |      Status:  new                      
  Priority:  major        |   Milestone:  6.4.0                    
 Component:  Raster       |     Version:  unspecified              
Resolution:               |    Keywords:                           
  Platform:  All          |         Cpu:  All                      
--------------------------+-------------------------------------------------
Comment (by glynn):

 Replying to [comment:3 dylan]:
 > r.cost.patch applies and compiles against GRASS64-SVN r34983
 >
 > r.drain patch: error on applying to documentation, does not compile

 > patching file description.html
 > Hunk !#4 FAILED at 208.

 > r.walk.patch: applies with one error, and compiles

 > patching file description.html
 > Hunk !#4 FAILED at 149.

 Both of these are due to the expanded $Date$ at the bottom of the file.

 > main.c: In function â:
 > main.c:697: error: â undeclared (first use in this function)
 > main.c:697: error: (Each undeclared identifier is reported only once
 > main.c:697: error: for each function it appears in.)
 > make: *** [OBJ.i686-pc-linux-gnu/main.o] Error

 I don't know what happened to your comment (cut/paste issue?), but this
 should read:
 {{{
 main.c: In function `drain_cost':
 main.c:697: error: `dir_name' undeclared (first use in this function)
 }}}
 Indeed, dir_name is local to main(), so it isn't visible in drain_cost().

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


More information about the grass-dev mailing list