



Essentially, the compiler crashes when Includes are nested to a depth greater than three.
For example, "source.inf" includes "file1.h" which includes "file2.h" which, in turn, includes "file3.h."
These three nested Include directives work fine.
It is only when "file3.h" tries to Include another file that the compiler crashes. A workaround is to increase the value of a #define in header.h called
MAX_INCLUSION_DEPTH. I'm using the biplatform version of Inform, where
it's set to 5. Setting it to be a larger number than is required should
allow deeply nested files to compile.
About Patches
Issue C62118
Nested Includes can crash compiler
Submitted by: Jim Fisher
Appeared in: Compiler 6.21 or before
Fixed in: -
Problem
Solution (by Jim W Lai)
Last updated 2 May 2008. The librarian in charge of this page is Roger Firth. Please email any comments, suggestions or corrections to roger@firthworks.com.