This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] fix warnings with -D_FORTIFY_SOURCE and -Wformat-security
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Andrew Thomas Pinski <pinskia at gmail dot com>
- Cc: Matthias Klose <doko at ubuntu dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>, "fortran at gcc dot gnu dot org" <fortran at gcc dot gnu dot org>
- Date: Sun, 15 Mar 2009 23:34:41 +0000 (UTC)
- Subject: Re: [patch] fix warnings with -D_FORTIFY_SOURCE and -Wformat-security
- References: <49BD8445.6070705@ubuntu.com> <45A6BAC4-3DBF-483A-AA8E-A0A360712B99@gmail.com>
On Sun, 15 Mar 2009, Andrew Thomas Pinski wrote:
> I think the fixes for -Wformat-security are obvious
Far from being obvious, they are incorrect (or at least many of them are).
--
Joseph S. Myers
joseph@codesourcery.com