Previous: gnatcheck Rule Options, Up: Verifying properties using gnatcheck
The gnatcheck tool can include in the generated diagnostic messages and in the report file the results of the checks performed by the compiler. Though disabled by default, this effect may be obtained by using +R with the following rule identifiers and parameters:
Restrictions
or Restriction_Warnings
are given),
use the rule named
Restrictions with the same parameters as pragma
Restrictions
or Restriction_Warnings
string_LITERAL
parameter of GNAT pragma
Style_Checks
.
static_string_expression
argument of GNAT pragma Warnings
.