Messages in this thread | | | Date | Sun, 14 Jun 2009 22:50:02 +0200 | From | Sam Ravnborg <> | Subject | Re: [PATCH] Kbuild: Disable the -Wformat-security gcc flag |
| |
On Fri, May 15, 2009 at 03:28:18PM +0200, Floris Kraak wrote: > On 5/15/09, Pekka Enberg <penberg@cs.helsinki.fi> wrote: > > > > On Wed, Feb 4, 2009 at 5:28 PM, Floris Kraak <randakar@gmail.com> wrote: > > > Some distributions have enabled the gcc flag -Wformat-security by default.* > > > This results in a number of warnings about format arguments to > > > functions, sometimes in cases where fixing the warning is not likely > > > to actually fix a bug. > > > Instead of hand patching a dozens of places (possibly more) that > > > produce warnings that get ignored anyway we just turn off the flag in > > > the Makefile. > > > > > > > Is there a reason this patch was not merged? Yes, it's clearly a > > distro problem but apparently there's no easy way to turn it off. > >
I have lost the original patch to disable this check. Could you please resend.
Thanks, Sam
| |