[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] Reenable -Wstrict-prototypes
|
From: |
Stefan Weil |
|
Subject: |
Re: [Qemu-devel] [PATCH] Reenable -Wstrict-prototypes |
|
Date: |
Fri, 22 Feb 2013 21:33:45 +0100 |
|
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130106 Thunderbird/17.0.2 |
Am 22.02.2013 21:08, schrieb Kevin Wolf:
> One part of this patch reverts commit 22bc9a46, which disabled the
> warning. The rest of it deals with the warning by adding a #pragma for
> newer gcc and by disabling -Werror for compilers that can't deal with
> the #pragma.
>
> Signed-off-by: Kevin Wolf <address@hidden>
> ---
>
Would you mind using a different solution which needs less changes
and is more portable?
It's possible to have -Wstrict-prototypes in configure and
-Wno-strict-prototypes in ui/Makefile (only for ui/gtk.c).
I have this in my tree and can send a patch.
Regards,
Stefan W.