[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-trivial] [PATCH for 1.7] acpi-build: Fix compiler warning (mis
From: |
Michael Tokarev |
Subject: |
Re: [Qemu-trivial] [PATCH for 1.7] acpi-build: Fix compiler warning (missing gnu_printf format attribute) |
Date: |
Mon, 18 Nov 2013 00:40:24 +0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131103 Icedove/17.0.10 |
17.11.2013 22:00, Stefan Weil wrote:
> gcc 4.8.2 reports this warning when extra warnings are enabled (-Wextra):
>
> CC m68k-softmmu/hw/m68k/mcf5206.o
> hw/i386/acpi-build.c: In function ‘build_append_nameseg’:
> hw/i386/acpi-build.c:294:5: error:
> function might be possible candidate for ‘gnu_printf’ format attribute
> [-Werror=suggest-attribute=format]
> g_string_vprintf(s, format, args);
> ^
Why are you sending for-1.7 patches which fixes issues which are not
present in 1.7? As far as I can see, -Wextra isn't enabled in 1.7, is it?
Thanks,
/mjt