Received: from eggs.gnu.org ([2001:4830:134:3::10]:43299) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eqfiL-0007Pc-He for qemu-devel@nongnu.org; Tue, 27 Feb 2018 08:54:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eqfiK-0005Ln-RH for qemu-devel@nongnu.org; Tue, 27 Feb 2018 08:54:41 -0500 From: Alberto Garcia In-Reply-To: <20180224154033.29559-2-mreitz@redhat.com> References: <20180224154033.29559-1-mreitz@redhat.com> <20180224154033.29559-2-mreitz@redhat.com> Date: Tue, 27 Feb 2018 14:33:51 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH v3 1/7] compiler: Add QEMU_BUILD_BUG_MSG() macro List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Reitz , qemu-block@nongnu.org Cc: qemu-devel@nongnu.org, Markus Armbruster , Eric Blake , Michael Roth On Sat 24 Feb 2018 04:40:27 PM CET, Max Reitz wrote: > _Static_assert() allows us to specify messages, and that may come in > handy. Even without _Static_assert(), encouraging developers to put a > helpful message next to the QEMU_BUILD_BUG_* may make debugging easier > whenever it breaks. > > Signed-off-by: Max Reitz Reviewed-by: Alberto Garcia Berto