C++ User's Guide

+w

Prints extra warnings where necessary.

This option generates additional warnings about questionable constructs that are:

Defaults

If +w is not specified, the compiler warns about constructs that are almost certainly problems.

See also

-w, +w2