------- Comment #6 from rguenth at gcc dot gnu dot org 2008-11-04 12:51 ------- You are wrong. Name-lookup _does_ stop at the first match. Name-lookup has nothing to do with declaration matching - it only looks up names.
-- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38005