Compiling error with include files
dmenke
Posts: 25
I'm sure this is something simple, but...
If I use an include that references a device defined in the main program, I get a compile error saying that this device has not been defined.
Is there a way to force the main to compile first, and then the includes? Or am I missing something simple?
Thanks,
Doug
If I use an include that references a device defined in the main program, I get a compile error saying that this device has not been defined.
Is there a way to force the main to compile first, and then the includes? Or am I missing something simple?
Thanks,
Doug
0
Comments
This is where you learn the magic stack of includes that seems to work.
This is one of the reasons I wanted a new SUPER_INCLUDE that would force a repeat compile before reporting errors.