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

[Bug c++/21832] Linker error when taking reference of static integral data member


------- 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


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