This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13356] undefined reference to static members of struct temp instances
- 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: 8 Dec 2003 17:20:22 -0000
- Subject: [Bug c++/13356] undefined reference to static members of struct temp instances
- References: <20031208170950.13356.akim@lrde.epita.fr>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-12-08 17:20 -------
it is not a GCC bug.
the code is complaint as long as you declare it also (can be in a different translation unit aka
source file) See <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13259> and <http://
gcc.gnu.org/bugzilla/show_bug.cgi?id=13332>. There are other non-bugs in GCC bugzilla for
this
*** This bug has been marked as a duplicate of 13332 ***
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13356