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.