Article View: gnu.gcc.bug
Article #967Template problem with gcc 2.2.2
From: Andrew L. Gross
Date: Thu, 20 Aug 1992 00:57
Date: Thu, 20 Aug 1992 00:57
25 lines
1327 bytes
1327 bytes
I am having a problem with templates on gcc 2.2.2. One of the problem
arises when I have a "const" method inside my template. Removing the
"const" gets rid of the problem.
Another problem occurs when I use "static" member functions. This problem
will also go away when the "static" is removed, but this changes the
entire program.
The error that comes up for both is
[filename]: template for methode `[method name]' doesn't match any in class
`[Template Name]<[Instance Name]>'
Lastly, I got a
: method `__opP *13' not found in class `Template<XXX>'
Any ideas?
Andy
------------------------------------------------------------------------
Andrew L. Gross ADSTAR
Internet: fletch@vnet.ibm.com 63S/071-2
Phone: (602) 799-3459 9000 S. Rita Road
Tie Line: 321-3459 Tucson, AZ 85744
Technical Details
Message-ID:
<9208200110.AA23792@life.ai.mit.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!vnet.ibm.com!fletchShow Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.bug Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!vnet.ibm.com!fletch From: fletch@vnet.ibm.com (Andrew L. Gross) Subject: Template problem with gcc 2.2.2 Message-ID: <9208200110.AA23792@life.ai.mit.edu> Sender: gnulists@ai.mit.edu Organization: GNUs Not Usenet Distribution: gnu Date: Thu, 20 Aug 1992 00:57:49 GMT Approved: bug-gcc@prep.ai.mit.edu Lines: 26