ILE C/C++ Compiler Reference


info

>>-#--pragma--info--(--+-all----------------+--)---------------><
                       +-none---------------+
                       +-restore------------+
                       | .----------------. |
                       | V                | |
                       '---+-nogroup-+--,-+-'
                           '-group---'
 
 

Description

This pragma can be used to control which diagnostic messages are produced by the compiler.

Parameters

all
Generates all diagnostic messages while this pragma is in effect.

none
Turns off all diagnostic messages while this pragma is in effect.

restore
Restores the previous setting of pragma info.

nogroup
Suppresses all diagnostic messages associated with a specified diagnostic group. To turn off a specific group of messages, prepend the group name with "no". For example, nogen will suppress CHECKOUT messages. Valid group names are listed below.

group
Generates all diagnostic messages associated with the specified diagnostic group. Valid group names are:

lan
Display information about the effects of the language level

gnr
Generate messages if the compiler creates temporary variables

cls
Display information about class use

eff
Warn about statements with no effect

cnd
Warn about possible redundancies or problems in conditional expressions

rea
Warn about unreachable statements

par
List the function parameters that are not used

por
List the non-portable usage of the C/C++ language

trd
Warn about the possible truncation or loss of data

use
Check for unused auto or static variables

use
Check for unused auto or static variables

gen
List the general CHECKOUT messages


[ Top of Page | Previous Page | Next Page | Table of Contents ]