I have deeply nested includes and I'm getting message 322 (Unable to open include file) even through my paths are set correctly.

We bend over backwards trying to accommodate all the varieties of operating systems and compilers, but sometimes we need some user help. If the number of nested files goes above the value of maxopen (set by the -maxopen(n) ) option, we start closing earlier files before opening new ones.  On the way back, we use fseek to find the correct location. Hence if maxopen is small enough, there should be no problem. However some libraries don't support fread'ing to files opened with "R". Therefore you can either raise the level of maxopen to something large like 100 or you can use +frb which will force the use of "rb" for the fopen call.

Feedback and Knowledge Base