Compilation Unit or until the next MESSAGE pragma
#pragma MESSAGE {(WARNING|ERROR|INFORMATION|DISABLE|DEFAULT){<CNUM>}}
None
<CNUM>: Number of messages to be set in the C1234 format
None
Messages are selectively set to an information message, a warning message, a disable message, or an error message.
In the example shown in the following listing, parentheses ( ) were omitted.
/* treat C1412: Not a function call, */ /* address of a function, as error */ #pragma MESSAGE ERROR C1412 void f(void); void main(void) { f; /* () is missing, but still legal in C */ /* ERROR because of pragma MESSAGE */ }
Compiler options :