This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/9726] namespace typedef hides global when interacting with using directive



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]