This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/25748] Template instantiated twice
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Jan 2006 11:05:21 -0000
- Subject: [Bug c++/25748] Template instantiated twice
- References: <bug-25748-6594@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from rguenth at gcc dot gnu dot org 2006-01-11 11:05 -------
The conditions look slightly bogus to me. The correct thing would be to put
the definition of the static data member in the same file of the class
declaration. Other than that, Cygwin may have problems with whatever they use
for .linkonce sections.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25748