« Previous | Next » 

Revision ea8f978f

IDea8f978ffef325ab2fd0edcf5f24b6dcec6078f3

Added by Dong Xu Wang about 12 years ago

rewrite QEMU_BUILD_BUG_ON

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 <>
Signed-off-by: Kevin Wolf <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences