🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.bug
Article #1097

Re: Template problem with gcc 2.2.2

#1097
From: Mike Stump
Date: Fri, 06 Nov 1992 09:02
24 lines
1383 bytes
Actual test cases are much preferred, over code descriptions.

The first problem has been fixed.  The second is probably fixed.  The
last one I cannot even guess at!

> Message-Id: <9208200110.AA23792@life.ai.mit.edu>
> Date: Wed, 19 Aug 92 17:57:49 MST
> From: "Andrew L. Gross" <fletch@vnet.ibm.com>
> To: bug-gcc@prep.ai.mit.edu

> 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>'
Technical Details
Message-ID: <9211060902.AA02700@cygnus.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!uwm.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!cygnus.com!mrs

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!uwm.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!cygnus.com!mrs
From: mrs@cygnus.com (Mike Stump)
Newsgroups: gnu.g++.bug
Subject: Re:  Template problem with gcc 2.2.2
Message-ID: <9211060902.AA02700@cygnus.com>
Date: 6 Nov 92 09:02:06 GMT
Article-I.D.: cygnus.9211060902.AA02700
Sender: gnulists@ai.mit.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 24
Approved: bug-g++@prep.ai.mit.edu