This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: GCC Template bug or my bad?
- From: Wolfgang Bangerth <bangerth at ices dot utexas dot edu>
- To: gcc-bugs at gcc dot gnu dot org, Jeroen Benckhuijsen <jeroen at themindconnection dot com>
- Date: Wed, 3 Sep 2003 14:22:13 -0500
- Subject: Re: GCC Template bug or my bad?
Your bad. It should probably read
char* p = _memory->template Pointer<char*>() + _pos
instead of
char* p = _memory->Pointer<char*>() + _pos
(it's hard to say, since you don't provide the declaration of memory, but
that's the usual cause for this error).
W.
-------------------------------------------------------------------------
Wolfgang Bangerth email: bangerth@ices.utexas.edu
www: http://www.ices.utexas.edu/~bangerth/