[libvirt] PATCH: Fix compiler flag check for -Wformat-security

Daniel Veillard veillard at redhat.com
Mon Apr 27 12:28:58 UTC 2009

On Mon, Apr 27, 2009 at 02:25:16PM +0200, Daniel Veillard wrote:
> On Mon, Apr 27, 2009 at 11:37:35AM +0100, Daniel P. Berrange wrote:
> > Certain versions of GCC will ignore the -Wformat-security flag unless you
> > have also set the -Wformat flag. Unfortunately when checking flags, we only

  Hum, I noticed recently that some packages change the make output to
just print something like the following when compiling a C module:
   CC module.c
instead of the now 3-4 lines of compiler flags, which make spotting
warnings way easier. Maybe this would be a good idea for us too,
opinion ?


Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel at veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/

More information about the libvir-list mailing list