This is the mail archive of the gcc-patches@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: PR 30437 [4.0/4.1/4.2/4.3 Regression] -Wno-all is rejected


OK. I will do it.

Thanks for the explanation.

Manuel

On 15/01/07, Andrew Pinski <pinskia@gmail.com> wrote:
On Mon, 2007-01-15 at 21:11 +0000, Manuel López-Ibáñez wrote:
>
> Huh? Is that not handled automatically like options in the C/C++
> front-end ?

-Wall is not handled automatically even in the C/C++ front-end:
    case OPT_Wall:
      set_Wunused (value);
      set_Wformat (value);
      set_Wimplicit (value);
      warn_char_subscripts = value;
      warn_missing_braces = value;
      warn_parentheses = value;
      warn_return_type = value;
etc.

What you need to do is add an argument to set_Wall and change that
function.  If you are not willing to do it, I can do it soon after I
finish up my libobjc patch which I am working on.

-- Pinski




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