c++/6894: lookup of anonymous structure members does not work as in C frontend
rth@gcc.gnu.org
rth@gcc.gnu.org
Sat Jun 1 23:57:00 GMT 2002
Synopsis: lookup of anonymous structure members does not work as in C frontend
State-Changed-From-To: open->closed
State-Changed-By: rth
State-Changed-When: Sat Jun 1 23:57:48 2002
State-Changed-Why:
This isn't legal.
struct Bar { struct Foo; };
This is a forward declaration of Bar::Foo, and so doesn't do
what you think it does. Note that this is a Microsoft VC++
extension that we don't support in the C++ front end.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6894
More information about the Gcc-bugs
mailing list