I am using the CC-RL compiler for RL78 devices. I get the error message below when I try to define an interrupt function. How do I eliminate this error?
E0520014: Extra text after expected end of preprocessing directive.
A file iodefine.h is generated when you create a project in an IDE. Include iodefine.h before issuing the #pragma interrupt, since it has definitions for the names of interrupt requests.
You can designate inclusion of the file by a directive as shown above or by designating it with the compiler’s –preinclude option.
|CS+ (formerly CubeSuite+)|
|C Compiler Package for RL78 Family|