home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / lang / c / 12296 < prev    next >
Encoding:
Text File  |  1992-08-13  |  1.1 KB  |  37 lines

  1. Newsgroups: comp.lang.c
  2. Path: sparky!uunet!stanford.edu!leland.Stanford.EDU!aquarius.Stanford.EDU!br.pct
  3. From: br.pct@RLG.Stanford.EDU (Peter C. Tam)
  4. Subject: INCLUDE file not found
  5. Message-ID: <br.pct.14.713737167@RLG.Stanford.EDU>
  6. Sender: news@leland.Stanford.EDU (Mr News)
  7. Organization: Research Libraries Group, Inc.
  8. Date: Thu, 13 Aug 1992 20:19:27 GMT
  9. Lines: 26
  10.  
  11. HI,
  12.   I have the problem compiling programs under MicroSoft C6.0. Nested Include 
  13. files can't be found, even though /I path is specified already. Detail below:
  14.  
  15.   ======================
  16.  
  17.   Main Program:
  18.   #include "file 1"
  19.   ======================
  20.  
  21.   File 1:
  22.   #include "file 2"
  23.   ======================
  24.  
  25.   File 1 & 2 is in \xxx\INCLUDE directory, Main Program is in \xxx\d1\d2 directory.
  26.  
  27.   Environment Variable INCLUDE : C:\C600\INCLUDE
  28.   CL command line includes: /I ..\..\INCLUDE
  29.  
  30.   MicroSoft Make 4.07 will cause CL (C600) not to find any file (even file 1)
  31.   MicroSoft NMake will cause CL (C600) not to find file 2
  32.  
  33.   Putting \xxx\INCLUDE in /I command line option makes no difference.
  34.   Is there a BUG in processing nested include files in C600 ? Thanks for any
  35.   help
  36.  
  37.