﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	revision
467	[PATCH] GCC 4.7: compile error using lemon::Undirector (argument-dependent lookup)	dfuhrmann	Alpar Juttner	"Recently I switched to gcc 4.7 and got the following error with lemon version 1.2.3

{{{
In file included from topologyGenerator/TopologyGenerator.cpp:13:0:
binaries/others/include/lemon/adaptors.h: In instantiation of 'lemon::Undirector<DGR>::Undirector(DGR&) [with DGR = lemon::FilterArcs<const lemon::ListDigraph>]':
topologyGenerator/TopologyGenerator.cpp:33:92:   required from here
binaries/others/include/lemon/adaptors.h:2280:7: error: 'initialize' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
binaries/others/include/lemon/adaptors.h:2280:7: note: declarations in dependent base 'lemon::UndirectorBase<lemon::FilterArcs<const lemon::ListDigraph> >' are not found by unqualified lookup
binaries/others/include/lemon/adaptors.h:2280:7: note: use 'this->initialize' instead
scons: *** [topologyGenerator/TopologyGenerator.o] Error 1
}}}

I saw that this is already fixed in developement branch if lemon, but it would be cool if you could also backport this for 1.2.x. Attached is a patch for that, according to the gcc output, which fixes the problem.
"	defect	closed	major		core	release branch 1.2	fixed			
