This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/20118] spurious error
- 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: 21 Feb 2005 02:48:05 -0000
- Subject: [Bug c++/20118] spurious error
- References: <20050221023756.20118.igodard@pacbell.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-21 02:48 -------
I think this is invalid.
You should be using:
template<> const int foo<bool>::i = 5;
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20118