home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: sparky!uunet!math.fu-berlin.de!informatik.tu-muenchen.de!rz.uni-passau.de!hiwi170.rz.uni-passau.de!schmidt
- From: schmidt@rz.uni-passau.de (SCHMIDT GUIDO)
- Subject: Re: help using BCC with template
- Message-ID: <schmidt.10@rz.uni-passau.de>
- Sender: news@tom.rz.uni-passau.de (News-Operator)
- Organization: University of Passau - Germany
- References: <1992Dec16.173251.18550@engage.pko.dec.com>
- Distribution: ne
- Date: Fri, 18 Dec 1992 11:59:29 GMT
- Lines: 40
-
- In article <1992Dec16.173251.18550@engage.pko.dec.com> chou@riscee.pko.dec.com (Jesse Chou WSG/SECG) writes:
-
-
- >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.
-
- When putting implementation code of a template class into a .cpp file you
- must specify "global" template creation. You can do this by switching a
- button in the dialog box Options/Compiler/CodeGeneration/Templates or with
- bcc by using the correct /JE option (see help for the right one).
-
- Guido.
- --------------------------------------------------------------------
- - Guido Schmidt -
- - schmidt%rz@tcpgw1.uni-passau.de <---- Please note -
- --------------------------------------------------------------------
-