[Bug c++/20118] missing template<> causes weird errors
bangerth at dealii dot org
gcc-bugzilla@gcc.gnu.org
Sat Jul 23 21:36:00 GMT 2005
------- Additional Comments From bangerth at dealii dot org 2005-07-23 21:33 -------
Here's what we get with present mainline and icc:
g/x> /home/bangerth/bin/gcc-4.1-pre/bin/c++ -c x.cc
x.cc:4: error: too few template-parameter-lists
g/x> icc -Xc -ansi -c x.cc
x.cc(4): error #838: specializing member "foo<t>::i [with t=bool]" requires
"template<>" syntax
const int foo<bool>::i = 5;
^
W.
--
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2005-05-26 12:29:21 |2005-07-23 21:33:59
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20118
More information about the Gcc-bugs
mailing list