C++ User's Guide

-w

Suppresses warning messages.

This option causes the compiler not to print warning messages. However, some warnings, particularly warnings regarding serious anachronisms cannot be suppressed.

See also

+w