Received: from eggs.gnu.org ([2001:4830:134:3::10]:44561) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b2HXo-0007qg-Ax for qemu-devel@nongnu.org; Mon, 16 May 2016 08:22:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b2HXm-0008W2-E5 for qemu-devel@nongnu.org; Mon, 16 May 2016 08:22:43 -0400 Sender: Paolo Bonzini References: <1461879221-13338-1-git-send-email-sw@weilnetz.de> <5739AE8A.9080604@weilnetz.de> From: Paolo Bonzini Message-ID: <5739BB81.8080307@redhat.com> Date: Mon, 16 May 2016 14:22:25 +0200 MIME-Version: 1.0 In-Reply-To: <5739AE8A.9080604@weilnetz.de> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH for 2.6] configure: Allow builds -Weverything List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Weil , Peter Maydell Cc: QEMU Trivial , QEMU Developer , qemu-stable@nongnu.org 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