🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #1309

Re: Include files disappearing

#1309
From: David Charlap
Date: Tue, 01 Sep 1992 13:55
26 lines
1681 bytes
In article <BtvzFs.L3q@well.sf.ca.us> shiva@well.sf.ca.us (Kenneth Porter) writes:
>I'm having problems with MSC 6.0 intermittently not finding include
>files along the include path.  This usually occurs when making from
>inside of Epsilon 5.0, but occasionally occurs on the command line.
>The compiler exits with "Fatal error C1024 cannot open include file
>'file'".  The include file is always a nested file (ie. it's included
>by another include file). Here's the include path:
>
>set INCLUDE=E:\C600\INCLUDE;.;E:\U\PRJ2\INCLUDE
>
>Both the main include file and the nested include file are in the
>last directory. It doesn't seem to matter whether I use quotes or
>angle brackets around the include file name.

Try suffixing the INCLUDE path string with a semicolon:

    SET INCLUDE=E:\C600\INCLUDE;.;E:\U\PRJ2\INCLUDE;

Oh yes, you may want to place "." first on the INCLUDE path.  This
way, your custom include files will always override system include
files of the same name.
-- 
   |)  David Charlap           "I don't even represent myself
  /|_  dic5340@hertz.njit.edu   sometimes so NJIT is right out!.
 ((|,)
  ~|~  Hi! I am a .signature virus, copy me into your .signature file.
Technical Details
Message-ID: <1992Sep1.135538.7186@njitgw.njit.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!psuvax1!rutgers!njitgw.njit.edu!hertz.njit.edu!dic5340
References: <BtvzFs.L3q@well.sf.ca.us>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!psuvax1!rutgers!njitgw.njit.edu!hertz.njit.edu!dic5340
From: dic5340@hertz.njit.edu (David Charlap)
Newsgroups: comp.os.os2.programmer
Subject: Re: Include files disappearing
Message-ID: <1992Sep1.135538.7186@njitgw.njit.edu>
Date: 1 Sep 92 13:55:38 GMT
References: <BtvzFs.L3q@well.sf.ca.us>
Sender: news@njit.edu
Organization: New Jersey Institute of Technology, Newark, N.J.
Lines: 26
Nntp-Posting-Host: hertz.njit.edu