haltonmsg

Applies to C++

Purpose

Instructs the compiler to stop after the compilation phase when it encounters the specified msg_number.

Syntax


Syntax Diagram

Notes

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

You can specify more than one message number with the -qhaltonmsg option. Additional message numbers must be separated by a comma.

Related References

Compiler Command Line Options
Compiler Messages IBM Copyright 2003