This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/17585] g++ generates errors on a legal code.
- From: "tal dot agmon at nsc dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Sep 2004 15:03:51 -0000
- Subject: [Bug c++/17585] g++ generates errors on a legal code.
- References: <20040921144843.17585.tal.agmon@nsc.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From tal dot agmon at nsc dot com 2004-09-21 15:03 -------
>From the ANSI-C++ chapter 9.4 Static members:
"A static member s of class X may be referred to using the qualified id
expression X::s; it is not necessary to use the class member access syntax
(5.2.5) to refer to a static member."
"A static member may be referred to directly in the scope of its class or in
the scope of a class derived (clause 10) from its class"
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|INVALID |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17585