config patch to turn off -Wformat for systems that include it in -Wall
Joseph S. Myers
joseph@codesourcery.com
Fri Mar 26 12:19:00 GMT 2010
On Thu, 25 Mar 2010, Mike Stump wrote:
> This patch tuns off -Wformat for systems that include it in -Wall.
> Apple's gcc would be one such system. On other systems, this shouldn't
> have any effect. I originally wanted to put this into config/mh-darwin,
> but those flags come before -Wall on the command line and hence can't
> effect it.
Standard FSF GCC includes -Wformat in -Wall and we have -Wformat
functionality *specifically and solely present for use in building GCC*,
so this patch is quite definitely wrong and will inevitably lead to many
bugs being introduced into GCC. Perhaps you could explain the actual
problem you are trying to fix.
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Gcc-patches
mailing list