I have 1 C file and many Lib files. In the C file I have on line 20:
#define SC_TYPE 25
and on line 442:
#use "RCM3000.lib"
In the RCM3000.Lib file I have (Line 36):
#if SC_TYPE == 25
extern char LCDShadow;
#define LCDPort 0xC000
#define KEYPort 0xE000
#endif
As you can see the #use is well after the #define and yet I still get this error:
line 36 : ERROR RCM3000.LIB : SC_TYPE is out of scope/ not declared.
Did I do something stupid? Why am I getting this error?
Ron