This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Preprocessor directive #error in CARM

Hi!

How make preprocessor error? #error - not work in keil 4.12 (ARM)

#ifdef IO16_A
CPU_CLOCK = 50;
#elif IO16_B
CPU_CLOCK = 25;
#elif IO16_C
CPU_CLOCK = 8;
#else

#error "No select device type!"

#endif