home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / lang / cplus / 19741 < prev    next >
Encoding:
Text File  |  1993-01-22  |  1.4 KB  |  40 lines

  1. Newsgroups: comp.lang.c++
  2. Path: sparky!uunet!cs.utexas.edu!uwm.edu!ux1.cso.uiuc.edu!cs.uiuc.edu!sparc0b!pjl
  3. From: pjl@cs.uiuc.edu (Paul Lucas)
  4. Subject: Re: Template Use <sigh>
  5. Message-ID: <C197KE.JIy@cs.uiuc.edu>
  6. Sender: news@cs.uiuc.edu
  7. Organization: University of Illinois at Urbana-Champaign
  8. References: <1jmldjINN6u3@rs6000.bham.ac.uk>
  9. Date: Fri, 22 Jan 1993 11:50:36 GMT
  10. Lines: 28
  11.  
  12. In <1jmldjINN6u3@rs6000.bham.ac.uk> pickerig@eee.bham.ac.uk (Guy Pickering) writes:
  13.  
  14. >I imagine this an FAQ, so please excuse my ignorance (anyone know where
  15. >to get an FAQ list?).
  16.  
  17.     If you wait long enough, it shows up here every now and again.
  18.  
  19. >I am starting to use templates (AT&T V3.01), I define the templates in
  20. >a separate directory to my main source code. I keep getting the following
  21. >warnings and errors:
  22.  
  23. >  CC[ptlink] warning: template definition file LookupTable.C not found
  24.  
  25.     The documentation says: if your .h files really end in .h, then
  26.     your .c files must end in .c; if .H, then .C.
  27.  
  28.     So, change your case.  You also have to put the -I path on your
  29.     final build line.  This too is in the documentation.
  30.  
  31. >I do not have a full understanding of how template code is created. I
  32. >assume it is not the same as the usual compile-link phases for C/C++ code.
  33.  
  34.     Read the documentation for details; it's too much typing to
  35.     explain it here.
  36. -- 
  37.     - Paul J. Lucas
  38.       AT&T Bell Laboratories
  39.       Naperville, IL
  40.