Re: Is -Wall the Automatically Provided Default?

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

 



Carbonaro, Tony writes:

 > 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.

No, that is not true.  Some warnings are on by default.  Most aren't.

 > 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".

No, that is not true either.  -Wall isn't the default.  -Wall produces
a lot of extra warnings.

Andrew.

[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