-qhaltonmsg
Category
Pragma equivalent
None.
Purpose
Stops compilation before producing any object files, executable files, or assembler source files if a specified error message is generated.
Syntax
-qhaltonmsg syntax - C .-nohaltonmsg--------------------------. | .-:------------------. | | V | | >>- -q--+-haltonmsg--=----message_identifier-+-+---------------><
-qhaltonmsg syntax - C++ .-nohaltonmsg--+---------------------------+-. | | .-:------------------. | | | | V | | | | '-=----message_identifier-+-' | | .-:------------------. | | V | | >>- -q--+-haltonmsg--=----message_identifier-+-------+---------><
Defaults
-qnohaltonmsg
Parameters
- message_identifier
- Represents a message identifier. The message identifier must be
in the following format:
where:15dd-number- 15
- Is the compiler product identifier.
- dd
- Is the two-digit code representing the compiler component that produces the message. See Compiler message format for descriptions of these codes.
- number
- Is the message number.
Usage
When the compiler stops as a result of the -qhaltonmsg option, the compiler return code is nonzero. The severity level of a message that is specified by -qhaltonmsg is changed to S if its original severity level is lower than S.
You cannot specify -qnohaltonmsg to resume compilation if a message whose severity level is S has been issued.
The -qnohaltonmsg compiler
option cancels previous settings of -qhaltonmsg.
When you specify -qnohaltonmsg
with message identifiers, the previous -qhaltonmsg instances
with the same message identifiers lose effect. When you specify -qnohaltonmsg without
specific message identifiers, all previous -qhaltonmsg instances
lose effect.
- -qhaltonmsg=message_identifier
- -qnohaltonmsg=message_identifier
- -qnohaltonmsg

-qhaltonmsg has precedence over -qsuppress and -qflag.
Predefined macros
None.



