[PATCH]: PR c/22476 -Wmissing-format-attribute [take 4]

Mark Mitchell mark@codesourcery.com
Tue Jul 19 06:13:00 GMT 2005


Kaveh R. Ghazi wrote:
>  > In principle it would be best for the options to be completely
>  > independent.  That is, check_function_arguments would call
>  > check_function_format if either option is enabled, and
>  > check_function_format would then only call check_format_info if
>  > -Wformat is enabled.  (Plus of course removal of the warning for
>  > -Wmissing-format-attribute on its own, updating of the documentation
>  > accordingly, removal of gcc.dg/format/opt-6.c which tests for the
>  > warning and adding a test that -Wmissing-format-attribute on its own
>  > enables the current warnings.)
> 
> This revision of my patch implements your suggestions above.
> Bootstraped and tested on x86_64-unknown-linux-gnu, no regressions.
> 
> Okay for 4.2?  Okay for 4.1?

Did you really mean 4.2?  Or did you mean 4.0 and 4.1?  In either case, 
I'll defer judgement to Joseph.

Thanks,

-- 
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304



More information about the Gcc-patches mailing list