.-3[CONDITIONAL STATEMENTS]
.-2[EXPRESSIONS]
.-1[MACRO EXPANSION]
Top
.+1[OUTPUT OF fpp]
.+2[PREDEFINED SYMBOLS]
.+3[DIAGNOSTICS]
C#message text C#error text
The difference between them is that #error sets an exit code of 1 (on POSIX and UNIX), and also sends the text to stdout. This can be used to ensure that a preprocessing error forces a compilation error if an attempt is later made to compile the output source program.
The output of both directives is prefixed with the file name and input line number to identify the origin of the message.
When #error is executed, processing is not terminated; instead, fpp tries to process the remaining input so as to uncover additional errors in the same run.
.-3[CONDITIONAL STATEMENTS]
.-2[EXPRESSIONS]
.-1[MACRO EXPANSION]
Top
.+1[OUTPUT OF fpp]
.+2[PREDEFINED SYMBOLS]
.+3[DIAGNOSTICS]