report message Miscellaneous Option (C++)

Syntax: Default:
report(enable, message)
report(disable, message)
none

This option controls whether specific messages are produced during C++ builds.

To output a message specify the message identifier with report(enable, message). To suppress the message use report(disable, message). VisualAge C++ messages are identified by alphanumeric strings that start with a prefix of one or more letters, and end with one or more digits.

By default all information, warning, and error messages are displayed.

For a message to appear, it must be enabled and match at least the minimum severity level set by report(level, level). However, you can tell the compiler to handle an information or warning message as though it had error severity by specifying report(treatAsError, message).

You can also control whether specific messages are output by using #pragma report in your source.

For C code, use info(grp) to control which messages are produced during compilation.



Incremental C++ Build
Messages Produced by Builds


View Build Messages
Set Build Options
Build


Miscellaneous Build Options
Miscellaneous Build Options