Preprocessor Directives

The Compiler supports the full set of preprocessor directives as required by the ANSI standard (refer to the following listing).

Listing: ANSI-C preprocessor directives


     
#if, 
#ifdef, 
#ifndef, 
#else, 
#elif, 
#endif

     #define,
 #undef


     #include


     #pragma


     #error, 
#line

The preprocessor operators defined, #, and ## are also supported. There is a special non-ANSI directive #warning which is the same as #error, but issues only a warning message.