Re: Is -Wall the Automatically Provided Default?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Carbonaro, Tony wrote:
Folks,
Sorry, basic question I know...

We have a conflict here at work. Our SQA says that, when using gcc, you
have to specify warnings be used (i.e. -Wall). SQA says that if you do
not specify any warnings at compile time, then you won't get any -
except of course, in the case of actual errors which prevent successful
compile/link.

Others say that -Wall is the default. You don't even have to ask for it,
you just get it automatically. Essentially, their position is that "gcc
buildme.cpp" is the exact same thing as "gcc -Wall buildme.cpp".


Without -Wall, or stricter checking options such as -pedantic, gcc will not issue any warnings to speak of. Many people insist on more diagnostics than just -Wall for QA.

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux