-w[arn[ings]

Specifies which warnings the linker command-line tool issues. This command is global.

Syntax
  -w[arn[ings]] keyword[,...]

The options of keyword are:

off

To turn off all warnings.

on

To turn on all warnings.

[no]cmdline

To issue command-line parser warnings.

[no]err[or] | [no]iserr[or]

To treat warnings as errors.

noSymRedef

To suppress Symbol Redefined warnings.

display|dump

To display a list of active warnings.