From mboxrd@z Thu Jan 1 00:00:00 1970 From: gdr@gcc.gnu.org To: gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, gdr@gcc.gnu.org, nobody@gcc.gnu.org, wxy@london.kivera.com Subject: Re: c++/3935: const static class member access Date: Mon, 13 Aug 2001 04:27:00 -0000 Message-id: <20010813112703.28749.qmail@sourceware.cygnus.com> X-SW-Source: 2001-08/msg00341.html List-Id: 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