delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/14/14:30:12

Date: Thu, 14 Oct 1999 07:26:18 -0700
Message-Id: <199910141426.HAA13972@www1.xoommail.com>
X-Loop: xoommail.com
From: Rithe <rithe AT xoommail DOT com>
Subject: Re: Templates
To: djgpp AT delorie DOT com
Reply-To: djgpp AT delorie DOT com

Ok, here we go.  The error message that I get is at run time.  There are 
a number of errors, and all are pretty much the same.  One is: Error: 
undefined reference to 'List<int>::List(void)'  My whole list class is 
template, so it should work.  Am I just missing something somewhere?

Brian Ronk

Davin McCall et.al. wrote:
 > That's more than a little vague. Maybe you could post the source,
 > along with the *exact* wording of the error message.
 > 
 > Also, you say that it compiles fine ... does that mean that you are
 > getting the message at run time (ie when you actually run your
 > program)?
 > 
 > Davin.
 > 
 > 
 > On Mon, 11 Oct 1999 16:56:14 -0700, Rithe <rithe AT xoommail DOT com> wrote:
 > 
 > >I was working on a template, and found that it 
 > >isn't working right.  It is a List.  The error I 
 > >get is something like:
 > >Cannot find List<int>, etc
 > >I hope you know what I mean.  Everything compiles 
 > >fine, so I know that it is semi right.  I'm just 
 > >not sure why it is giving those errors when it is 
 > >a template.  Any ideas?
 > >
 > >Brian Ronk
 > 
 > __________________________________________________________
 >        *** davmac - sharkin'!! davmac AT iname DOT com ***
 > my programming page: http://yoyo.cc.monash.edu.au/~davmac/
 > 


______________________________________________________
Get your free web-based email at http://www.xoom.com
Birthday? Anniversary? Send FREE animated greeting
cards for any occasion at http://greetings.xoom.com


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019