Skip to main content

IAR Embedded Workbench for RISC-V 3.40

cstat_disable

In this section:
Syntax
#pragma cstat_disable="tag"[,"tag"...]
Parameters

tag 

The tag of a C-STAT check.

Description

Use this pragma directive to suppress the specified C-STAT check until the end of the compilation unit or until a matching #pragma cstat_restore directive is encountered.

Example
#pragma cstat_disable = "MISRAC2012-Rule-9.2",
"MISRAC2012-Rule-10.3"
    // ...
    // Messages about rules 9.2 and 10.3 suppressed here
    // ...
See also

cstat_restore