Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site seismo.CSS.GOV Path: utzoo!watmath!clyde!bonnie!akgua!gatech!seismo!mo From: mo@seismo.CSS.GOV (Mike O'Dell) Newsgroups: net.micro.mac Subject: Megamax C and include problems Message-ID: <471@seismo.CSS.GOV> Date: Sun, 20-Oct-85 00:32:45 EDT Article-I.D.: seismo.471 Posted: Sun Oct 20 00:32:45 1985 Date-Received: Mon, 21-Oct-85 00:36:57 EDT Organization: Center for Seismic Studies, Arlington, VA Lines: 35 I am using Megamax C 2.1 and am having all kinds of problems with a bloody include file. This code compiles on 5 other C compilers on Vaxes, 2 different 68K Unix boxes, and under 2 different MS-DOS compilers. The offending line reads #include "instr.h" It claims: "Src Disk:mumble1.c", line 25: Can't find include file Src Disk:instr.h Well, it is certainly there. I even tried a different short program "foo.c" which reads #include "instr.h" and get no complaints. Further, several other files generate this complaint (each one that includes "instr.h"). The include is actually bracketed with an #ifndef INSTRdefined #include "instr.h" #endif I thought there might be mutual recursion problem but (1) none of the other compilers found it and (2) a different test program correctly diagnosed mutually recursive include files. I went out to the finder and made a copy, threw away the original, and then renamed the copy to instr.h, all to no avail. This is more that a little annoying. Why is it so damnably difficult to get anything done?? Would Kill for a Shell, -Mike O'Dell