[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RFC PATCH] configure: Enable -Werror for MinGW builds,

From: Peter Maydell
Subject: Re: [Qemu-devel] [RFC PATCH] configure: Enable -Werror for MinGW builds, too
Date: Wed, 8 Jun 2016 19:55:44 +0100

On 8 June 2016 at 15:09, Stefan Hajnoczi <address@hidden> wrote:
> On Wed, Jun 08, 2016 at 10:13:26AM +0200, Thomas Huth wrote:
>> MinGW seems to compile currently without warnings, so it should
>> be safe to enable -Werror now for this environment, too.
>> Signed-off-by: Thomas Huth <address@hidden>
>> ---
>>  ... at least it compiles without errors for me here. I hope that's
>>  also true for different versions of MinGW ... would be great if
>>  everybody who has such a compiler installed could give it a try!
>>  configure | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
> mingw 5.2.0-1.fc23 does not produce any warnings anymore.
> Tested-by: Stefan Hajnoczi <address@hidden>

My w32/w64 builds need -Wno-unused-local-typedefs to build
with -Werror, but that's the fault of the glib headers I build
against and I already configure like that in order to use -Werror.

We should check whether we can enable -Werror for OSX too.

-- PMM

reply via email to

[Prev in Thread] Current Thread [Next in Thread]