On 08/10/2011 10:22 AM, Jonathan Wakely wrote: > On 10 August 2011 09:10, Jeffrey Walton wrote: >> This is probably going to sound like a dumb question, but here goes: >> why doen't GCC offer a switch to enable all warnings? And even better, > > Noone has implemented it, gcc devs don't think it's useful (or not > more useful than fixing bugs or adding more useful features first, and > don't want to have to maintain it) and apparently noone else wants it > badly enough to do more than open bugzilla reports requesting it. > > It probably wouldn't be useful to many people, even the people who > think they want it. We can't even guarantee that some of the more obscure coding standard warnings aren't mutually exclusive. IME, most people who say they want "all" warnings soon change their minds when they discover the amount of useless crap that implies. Andrew.