C++ User's Guide

-g0

Compiles and links for debugging, but doesn't disable inlining.

This option is the same as -g, except that +d is disabled.

See also

+d, -g, -xildon, Debugging a Program With dbx