I'm learning C and in some examples I found "use gcc -W to enable warnings",
but reading the documentation here : http://gcc.gnu.org/onlinedocs/gcc-4.6.3/gcc/Warning-Options.html
I can't find what -W do.
Can someone explain ?
I'm speaking about W and not w.
Regards,
-W
is now deprecated by -Wextra
with new gcc
versions.
From gcc
man page:
-Wextra
This enables some extra warning flags that are not enabled by -Wall.
(This option used to be called -W. The older name is still supported, but
the newer name is more descriptive.)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With