[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH for 2.6] configure: Allow builds -Weverything
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH for 2.6] configure: Allow builds -Weverything |
Date: |
Mon, 16 May 2016 14:22:25 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1 |
On 16/05/2016 13:27, Stefan Weil wrote:
> I think this patch which was too late for 2.6.0 is a candidate for
> qemu-trivial, maybe also for qemu-stable. CC both mailing lists.
Yes, it is confusing to have --disable-werror compilations break because
of warnings becoming errors. However, the subject is imprecise, what about:
----
configure: Allow builds with extra warnings
The clang compiler supports a useful compiler option -Weverything,
and GCC also has other warnings not enabled by -Wall.
If glib header files trigger a warning, however, testing glib with
-Werror will always fail. A size mismatch is also detected without
-Werror, so simply remove it.
----
Thanks,
Paolo