On Sat, May 12, 2012 at 10:12 AM, Joseph S. Myers <jos...@codesourcery.com> wrote: > I don't think common.opt should have LangEnabledBy listing different > languages, though; that information should be in the front ends' .opt > files.
Agreed. > And, before we add such language-specific enabling of a > language-independent option, I'd like a good reason not to make -Wall a > common option (also having language-specific aspects) that enables > -Wunused for all languages - or else -Wall should (as a separate patch) be > made to enable -Wunused for all languages, to make the semantics simpler > and more consistent. The trouble is there is no agreement on common understanding of "-Wall" across front-ends, as the recent thread about -Wall showed. -- Gaby