home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / cplus / 18180 < prev    next >
Encoding:
Text File  |  1992-12-21  |  1.9 KB  |  53 lines

  1. Newsgroups: comp.lang.c++
  2. Path: sparky!uunet!math.fu-berlin.de!informatik.tu-muenchen.de!rz.uni-passau.de!hiwi170.rz.uni-passau.de!schmidt
  3. From: schmidt@rz.uni-passau.de (SCHMIDT GUIDO)
  4. Subject: Re: help using BCC with template
  5. Message-ID: <schmidt.10@rz.uni-passau.de>
  6. Sender: news@tom.rz.uni-passau.de (News-Operator)
  7. Organization: University of Passau - Germany
  8. References: <1992Dec16.173251.18550@engage.pko.dec.com>
  9. Distribution: ne
  10. Date: Fri, 18 Dec 1992 11:59:29 GMT
  11. Lines: 40
  12.  
  13. In article <1992Dec16.173251.18550@engage.pko.dec.com> chou@riscee.pko.dec.com (Jesse Chou WSG/SECG) writes:
  14.  
  15.  
  16. >This may be a very basic and silly question to ask but I am new to Borland
  17. >c++.  It is greatly appreciated that someone could enlighten me or give me
  18. >pointer to a FAQ.
  19.  
  20.  
  21. >I am writing a list class using template and got link error:
  22.  
  23. >Error: Undefined symbol slist_base::append(slink near*) in module tpc.cpp
  24.  
  25.  
  26. >I had a similar error using other c++ compiler and found that I have to use
  27. >a command line switch with the compiler.  I suppose that someone could
  28. >easily point to me what I should do in my makefile.  Or maybe there is
  29. >other problems that I am not aware of.  In any rate, thanks in advance.
  30.  
  31.  
  32.  
  33. >Jesse
  34.  
  35.  
  36.  
  37. >-- 
  38. >Jesse Chou     -- chou@riscee.enet.dec.com
  39.  
  40. >These words are entered into net by the keyboard.
  41. >I am not responsible for them; neither is my employer.
  42.  
  43. When putting implementation code of a template class into a .cpp file you
  44. must specify "global" template creation. You can do this by switching a
  45. button in the dialog box Options/Compiler/CodeGeneration/Templates or with
  46. bcc by using the correct /JE option (see help for the right one).
  47.  
  48. Guido.
  49. --------------------------------------------------------------------
  50. - Guido Schmidt                                                    -
  51. - schmidt%rz@tcpgw1.uni-passau.de       <---- Please note          -
  52. --------------------------------------------------------------------
  53.