This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/11930] Cannot define static template struct member
- From: "schnetter at uni-tuebingen dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Aug 2003 18:06:30 -0000
- Subject: [Bug c++/11930] Cannot define static template struct member
- References: <20030815160749.11930.schnetter@uni-tuebingen.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11930
schnetter at uni-tuebingen dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|INVALID |
------- Additional Comments From schnetter at uni-tuebingen dot de 2003-08-15 18:06 -------
The proposed solution, namely adding "template<>" in front of the definition
of the variable a, does not solve the problem. The compiler now accepts the
construct, but the object file does not contain a definition of the variable
a. (The syntax reminds me of a template specialisation, which is not at all
what I want.)