[GRASS-dev] Re: [GRASS GIS] #1655: problem compiling r.terraflow with g++ 4.7.0

GRASS GIS trac at osgeo.org
Tue May 15 05:45:56 EDT 2012


#1655: problem compiling r.terraflow with g++ 4.7.0
--------------------------------------+-------------------------------------
 Reporter:  hamish                    |       Owner:  grass-dev@…              
     Type:  defect                    |      Status:  new                      
 Priority:  critical                  |   Milestone:  6.4.3                    
Component:  Compiling                 |     Version:  6.4.2                    
 Keywords:  r.terraflow, libiostream  |    Platform:  Linux                    
      Cpu:  x86-64                    |  
--------------------------------------+-------------------------------------

Comment(by hamish):

 as suggested by the error message, adding "this->" before 'insert',
 'allocateHeap', and 'freeHeap' allowed it to compile.

 interestingly it was taking the header file from dist.*/include/ not
 include/, so I had to edit both to get it to take.


 any comments before committing the change? (I'm no C++ expert, just monkey
 see-monkey do in this case)


 Hamish

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/1655#comment:1>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list