#define RR0 1 #define RR1 0 void main() { ... #if RR0 precedure0(); #elif RR1 precedure1(); #endif ... }
#define RR0 0 #define RR1 1
Examine the preprocessor output. see Andy's Handy Hint for Debugging Preprocessor Problems: http://www.8052.com/forum/read.phtml?id=29152 You also need to explain precisely what you mean by, "can never be compiled and link" - but examine the preprocessor output first.