In two of my files, (fnLineProc and ltrCntProc) I use the struct from getSetInfo.h by including headers.h (Every file includes that file)
From what I've researched, this might be caused by circular includes? But the odd part is, no other file has this issue, but then again, the compiler stops reporting after four errors with a "Fatal error: Unable to recover" error. I would think though that if this was a circular include, that I would get it on fnLineProc instead, since it's included first.
So the question is: Is this the cause of circular includes, or some other issue? Will I be unable to use a master include file, or is there a workaround for this?
So the question is: Is this the cause of circular includes, or some other issue?
Probably. Circular includes will get you an undelcared identifier error. But it's hard to say for sure without seeing all your headers. Though it does seem very likely.
Will I be unable to use a master include file, or is there a workaround for this?
The solution is to be more careful about how you include. #including everything in every file is usually a bad idea for several reasons (this problem is one of them).
If you want to solve the problem and prevent it from happening again, go through your headers and touch them up so they abide by the rules layed out in section 4 of the below article: