Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!samsung!olivea!orc!inews!mipos2.intel.com!sbhasin From: sbhasin@mipos2.intel.com Newsgroups: comp.lang.c Subject: Include file problem in Microsoft C 6.0 Keywords: Microsoft C 6.0, Codeview, Include files Message-ID: <1684@inews.intel.com> Date: 9 Jan 91 19:58:03 GMT Sender: news@inews.intel.com Reply-To: sbhasin@mipos2.intel.com () Distribution: usa Organization: Microprocessor Component Group, Intel Corp., Santa Clara, CA Lines: 33 I am having some problems with MSC 6.0. Simplified version of the problem is as follows : 1. I have C source file C:\monitor\junk.c which contains just one include statement : #include 2. The include file C:\d_inc\dosmon.h contains some more include statements : #include #include Files include1.h and include2.h also reside in directory C:\d_inc. Now if I compile my program junk.c as follows : cl /c /IC:\d_inc junk.c it compiles just fine. However, if I as compile with the Zi option as in cl /c /Zi /IC:\d_inc junk.c compiler complains that it can't find include file include1.h. Has any of you informed netter seen this problem ? Is there a way around this problem ? I have tried changing the environment variable INCLUDE but that also doesn't work. I will appreciate any help in this matter. Thanks in advance. Sanjay Bhasin. P.S. Zi option generates symbolic information for codeview so that you can debug your program in C.