Sunday, July 18, 2010

How to enable all of the warning in gcc?

Use -W and -Wall options together.
It is same with Waring level 4 in VisualStudio compiler.

If you want to disable specific waring number you can use -Wno-[warning number to disable].

If you want to disable all of the warning message Use the -w lowcase W option.

No comments:

Post a Comment