On Wed, Apr 4, 2012 at 1:06 PM, Jeff Law <l...@redhat.com> wrote: > On 04/04/2012 12:04 PM, Gabriel Dos Reis wrote: >> >> On Wed, Apr 4, 2012 at 10:17 AM, Jeff Law<l...@redhat.com> wrote: >>> >>> On 04/04/2012 08:56 AM, Ian Lance Taylor wrote: >>>> >>>> >>>> Andrew Haley<a...@redhat.com> writes: >>>> >>>>> On 04/04/2012 10:44 AM, Gabriel Dos Reis wrote: >>>>>> >>>>>> >>>>>> For GCC-4.8, I would like to turn on -Wall by default. >>>>>> Comments? >>>>> >>>>> >>>>> >>>>> Umm, should this really happen at exactly the same time as C++ >>>>> by default? >>>> >>>> >>>> >>>> I assume that Gaby is talking about making -Wall the default for users >>>> of GCC. >>> >>> >>> If so, that seems awful presumptuous to me. >> >> >> We do have regular requests for this, so it is not just out of thin air. > > Perhaps, but I think that changing the default like this is far too > invasive. GCC should do what it's told, if a user asks for warnings, give > them, if they don't, then don't.
It is hard to define "what it is told" means -- we are already in gray zone. > I suspect changing the default like this will generate a flood of complaints. Really? Such as what? If we get floods of complaints, that can only that -Wall too many false positives; but I don't think it does. We have been careful over the years to watch for that effect. > > jeff