[Bug c++/19188] friend funtion inside a template class seems to have a problem
lerdsuwa at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Dec 29 14:21:00 GMT 2004
------- Additional Comments From lerdsuwa at gcc dot gnu dot org 2004-12-29 14:20 -------
Not a bug. You have to replace the code at line 68:
tstack<T>::link* p;
with
typename tstack<T>::link* p;
Check out the web page <http://gcc.gnu.org/gcc-3.4/changes.html>
and search for "You mustnow use the typename and template" ...
for more information. There have been a lot of changes to the
C++ language since the old days and this is one of them.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19188
More information about the Gcc-bugs
mailing list