Programming Reference/Librarys
Question & Answer
Q&A is closed
This is an old revision of the document!
The #error directive emits a user-specified error message at compile time and then terminates the compilation.
#if !defined(PASS_COMPILER) #error Syntax to Pass this stage is required ! #endif
If “PASS_COMPILER” is not defined in program, Then compilation terminates with Error Message as shown: “\main.c|4|error: #error Syntax to Pass this stage is required !|”