This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/3935: const static class member access
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, gdr at gcc dot gnu dot org, nobody at gcc dot gnu dot org, wxy at london dot kivera dot com
- Subject: Re: c++/3935: const static class member access
- From: gdr at gcc dot gnu dot org
- Date: 13 Aug 2001 11:27:03 -0000
Synopsis: const static class member access
Responsible-Changed-From-To: unassigned->gdr
Responsible-Changed-By: gdr
Responsible-Changed-When: Mon Aug 13 04:27:02 2001
Responsible-Changed-Why:
Boo!
State-Changed-From-To: open->analyzed
State-Changed-By: gdr
State-Changed-When: Mon Aug 13 04:27:02 2001
State-Changed-Why:
Strictly speaking, your program is ill-formed since the definitions
for foo1::left and foo1::right are missing.
That said, I must confess that GCC-3.0 behaviour is a regression over
2.95, and inconsistent.
-- Gaby
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3935&database=gcc