------- Comment #7 from pinskia at gcc dot gnu dot org 2006-02-13 04:37 ------- The error message now is totally bogus: t.cc: In function 'int main()': t.cc:13: error: reference to 'foo' is ambiguous t.cc:2: error: candidates are: class foo t.cc:6: error: typedef class foo bar::foo t.cc:13: error: reference to 'foo' is ambiguous t.cc:2: error: candidates are: class foo t.cc:6: error: typedef class foo bar::foo t.cc:13: error: expected `;' before 'a'
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9726