This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/16393] Strange syntax errors in g++ 3.4.0
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Jul 2004 21:52:01 -0000
- Subject: [Bug c++/16393] Strange syntax errors in g++ 3.4.0
- References: <20040706213213.16393.wynand@realtimerodeo.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bangerth at dealii dot org 2004-07-06 21:52 -------
Actually, I wasn't quite clear: you need to add an initializer. Otherwise,
this only serves as a forward declaration of a specialization, which will
give you linker errors. Those will go away by adding an initializer. Your
only bug was that you forgot "template<>" in front of the specialization.
W.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16393