-qhaltonmsg (C++ only)

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

Read syntax diagramSkip visual syntax diagram
                    .- :-----------------.   
                    V                    |   
>>- -qhaltonmsg--=----message_identifier-+---------------------><

Defaults

Not applicable.

Parameters

message_identifier
Represents a message identifier. The message identifier must be in the following format:
15dd-number
where:
dd
Is the two-digit code representing the compiler component that produces the message. See Compiler message format for descriptions of these.
number
Is the message number.

Usage

When the compiler stops as a result of the -qhaltonmsg option, the compiler return code is nonzero.

Predefined macros

None.

Related information