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