This is the mail archive of the gcc-prs@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]

Re: c++/6894: lookup of anonymous structure members does not work as in C frontend


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


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