From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:58370) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rv7Ow-0005Vq-Br for qemu-devel@nongnu.org; Wed, 08 Feb 2012 08:17:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rv7Oq-0005Oc-JF for qemu-devel@nongnu.org; Wed, 08 Feb 2012 08:17:34 -0500 Received: from mx1.redhat.com ([209.132.183.28]:40952) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rv7Oq-0005OW-Ck for qemu-devel@nongnu.org; Wed, 08 Feb 2012 08:17:28 -0500 Message-ID: <4F326F60.5010002@redhat.com> Date: Wed, 08 Feb 2012 13:49:36 +0100 From: Kevin Wolf MIME-Version: 1.0 References: <1324371827-25099-1-git-send-email-wdongxu@linux.vnet.ibm.com> In-Reply-To: <1324371827-25099-1-git-send-email-wdongxu@linux.vnet.ibm.com> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] rewrite QEMU_BUILD_BUG_ON List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Dong Xu Wang Cc: qemu-devel@nongnu.org Am 20.12.2011 10:03, schrieb Dong Xu Wang: > From: Dong Xu Wang > > On some platforms, __LINE__ will not expand to real number in QEMU_BUILD_BUG_ON, > so if using QEMU_BUILD_BUG_ON twice, compiler will report errors. This patch will > fix it. > > BTW, I got error message on RHEL 6.1/gcc 4.4.5. > > Signed-off-by: Dong Xu Wang Thanks, applied to the block branch. Kevin