FLAG | NOFLAG

Category

Listings, messages, and compiler information

Pragma equivalent

None.

Purpose

Limits the diagnostic messages to those of a specified level or higher.

Syntax

Read syntax diagramSkip visual syntax diagram
   .-FL--(--severity--)-.   
>>-+-NOFL---------------+--------------------------------------><

Defaults

FLAG(I)

Parameters

severity
Specifies the minimum severity level.
severity may be one of the following:
I
An informational message.
W
A warning message that calls attention to a possible error, although the statement to which it refers is syntactically valid.
E
An error message that shows that the compiler has detected an error and cannot produce an object deck.
S
A severe error message that describes an error that forces the compilation to terminate.
U
An unrecoverable error message that describes an error that forces the compilation to terminate.

Usage

When the FLAG option is in effect, you can specify the minimum severity level of diagnostic messages to be reported in a listing and displayed on a terminal.

If you specified the options SOURCE or LIST, the messages generated by the compiler appear immediately following the incorrect source line, and in the message summary at the end of the compiler listing.

The NOFLAG option is the same as the FLAG(U) option.

IPA effects

The FLAG option has the same effect on the IPA link step that it does on a regular compilation.

Predefined macros

None.

Related information

For more information on related compiler options, see