This is the mail archive of the gcc@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: RFC: -Wall by default


On 4/9/2012 1:29 PM, Eric Botcazou wrote:
That would be my preferred solution -- by far.  But, my understanding
is that that would provoke a riot so I am willing to compromise by
introducing a new warning switch (even if I dislike that thought.)
Hopefully, it is it is going to be the default, most people would not have
to learn yet another GCC switch.

Why to introduce a new switch then? Just select a few -W switches and enable them by default, keeping in mind that -w will disable them in any cases.

I think the idea is just to have an easy way to describe the relevant set of warnings, and a specific way (-Wno-standard) to go back to the
status quo.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]