HALTONMSG | NOHALTONMSG
Category
Error checking and debugging
Pragma equivalent
None.
Purpose
Stops compilation before producing any object, executable, or assembler source files if a specified error message is generated.
Syntax
.-NOHALTON---------------------. | .-,----------. | | V | | >>-+-HALTON--(----msg_number-+--)-+----------------------------><
Defaults
NOHALTON
Parameters
- msg_number
- Message number. Note: The HALTONMSG option allows you to specify more than one message number by separating the message numbers with colons.
Usage
When the HALTONMSG compiler option is in effect, the compiler stops after the compilation phase when it encounters the specified message number.
When the compilation stops as a result of the HALTONMSG option, the compiler return code is nonzero.
Predefined macros
None.