------- Comment #1 from bangerth at dealii dot org 2006-08-06 22:19 ------- Confirmed. To make things worse, the diagnostic is really longish right now as well:
g/x> c++ -c x.cc x.cc:10: error: reference to 'B' is ambiguous x.cc:4: error: candidates are: struct A::B x.cc:4: error: struct A::B x.cc:10: error: reference to 'B' is ambiguous x.cc:4: error: candidates are: struct A::B x.cc:4: error: struct A::B x.cc:10: error: 'B' has not been declared x.cc:11: error: reference to 'B' is ambiguous x.cc:4: error: candidates are: struct A::B x.cc:4: error: struct A::B x.cc:11: error: reference to 'B' is ambiguous x.cc:4: error: candidates are: struct A::B x.cc:4: error: struct A::B x.cc:11: error: 'B' has not been declared The 'is ambiguous' message is apparently printed twice, and the 'has not been declared' message is, and has long been, bogus... W. -- bangerth at dealii dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bangerth at dealii dot org Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2006-08-06 22:19:48 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27775