| Syntax: | Default: |
| report(treatAsError, message) | none |
Using this option with a message identifier causes that message be treated as though it had error severity level.
By default, message severity is not changed.
To treat an information or warning message as an error, use this option with the identifier for that 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. If you specify the identifier of an error message, this option has no effect.
To control whether information, warning, or only error messages are produced during build, use report(level, level). You can also suppress or output specific error messages with the report(enable, message) or report(disable, message) option. For a message to actually appear, this option must be enabled and match at least the minimum severity level.
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
