Search notes:

cl /W …

The /Wn option specifies the level of warnings to be generated. n is a number from 0 to 4 or all with the following meaning:

See also

/w… allows to modify warning levels, suppress warnings or treat warnins as errors.
The GNU compiler options related to warnings (-W)
cl options
In order to temporarily suppress (an expected) warning, one might use #pragma warning(push) and #pragma warning(disable:…).

Index