[GRASS-dev] Compiling r.viewshed and r.terraflow with C++11
    Glynn Clements 
    glynn at gclements.plus.com
       
    Fri Dec 13 04:11:54 PST 2013
    
    
  
Vaclav Petras wrote:
> > The right fix is to remove all occurrences of "using namespace std;",
> > then fix the (probably hundreds) of errors which arise, either by
> > using qualified names (e.g. std::vector) or by adding "using"
> > statements for individual names (e.g. "using std::vector;").
> >
> > I tried to delete all "using namespace std;" but the error "
> reference...ambiguous" was still there in slightly different form
The issue was also present in the libiostream headers used by
r.terraflow and r.viewshed.
Try r58455.
-- 
Glynn Clements <glynn at gclements.plus.com>
    
    
More information about the grass-dev
mailing list