🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c++
Article #1288

need help compiling (linking) Borland C++ programs using templates

#1288
From: Jesse Chou WSG/SECG
Date: Thu, 17 Dec 1992 23:14
34 lines
1478 bytes
This may be a very basic and silly question to ask but I am new to Borland
c++.  It is greatly appreciated that someone could enlighten me or give me
pointer to a FAQ.


I am writing a list class using template and got link error:

Error: Undefined symbol slist_base::append(slink near*) in module tpc.cpp


I had a similar error using other c++ compiler and found that I have to use
a command line switch with the compiler.  I suppose that someone could
easily point to me what I should do in my makefile.  Or maybe there is
other problems that I am not aware of.  In any rate, thanks in advance.



Jesse



-- 
Jesse Chou	-- chou@riscee.enet.dec.com

These words are entered into net by the keyboard.
I am not responsible for them; neither is my employer.


-- 
Jesse Chou	-- chou@riscee.enet.dec.com

These words are entered into net by the keyboard.
I am not responsible for them; neither is my employer.
Technical Details
Message-ID: <1992Dec17.231411.10943@engage.pko.dec.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!zaphod.mps.ohio-state.edu!caen!spool.mu.edu!olivea!decwrl!deccrl!news.crl.dec.com!dbased.nuo.dec.com!nntpd.lkg.dec.com!engage.pko.dec.com!riscee.pko.dec.com!chou

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!zaphod.mps.ohio-state.edu!caen!spool.mu.edu!olivea!decwrl!deccrl!news.crl.dec.com!dbased.nuo.dec.com!nntpd.lkg.dec.com!engage.pko.dec.com!riscee.pko.dec.com!chou
From: chou@riscee.pko.dec.com (Jesse Chou WSG/SECG)
Newsgroups: comp.std.c++
Subject: need help compiling (linking) Borland C++ programs using templates
Message-ID: <1992Dec17.231411.10943@engage.pko.dec.com>
Date: 17 Dec 92 23:14:11 GMT
Sender: chou@riscee.enet.dec.com
Organization: Digital Equipment Corporation, Maynard MA
Lines: 34