This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/21832] Linker error when taking reference of static integral data member
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 May 2005 21:48:34 -0000
- Subject: [Bug c++/21832] Linker error when taking reference of static integral data member
- References: <20050530214421.21832.bernie@develer.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-30 21:48 -------
(In reply to comment #0)
> Also happens with 3.3.5 and 4.0.0. The test case
> is so simple I'm surprised nobody noticed before.
> Unless of course I need to take a new C++ course.
This is a dup of bug 14404. I thought this was on the bug reporting web page (maybe not), well it
should be.
This is invalid code, see comment #1 in PR 14404 for how to fix your code.
*** This bug has been marked as a duplicate of 14404 ***
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21832