This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Is -Wall the Automatically Provided Default?


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 Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]