Keil™, An ARM® Company

CARM User's Guide

Discontinued

WARNINGLEVEL Compiler Directive

Abbreviation WL
Arguments 
Default WARNINGLEVEL (2)
µVision Options — CA — Warnings.
Description 

The WARNINGLEVEL directive suppresses certain compiler warnings based on the level of the warning. Refer to for a complete list of compiler warnings.

Warning LevelDescription
0Disables most compiler warnings.
1Lists only those warnings which may generate incorrect code.
See Also WARNING
Example 
CA SAMPLE.C WL (1)

#pragma WARNINGLEVEL (0)