[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] rewrite QEMU_BUILD_BUG_ON
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH] rewrite QEMU_BUILD_BUG_ON |
Date: |
Tue, 20 Dec 2011 10:13:43 +0000 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Tue, Dec 20, 2011 at 05:03:47PM +0800, Dong Xu Wang wrote:
> From: Dong Xu Wang <address@hidden>
>
> 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.
Can you post the gcc -E output of the file that produces the error as
well as the gcc error output?
Stefan