Re: [Qemu-devel] [PATCH] compiler: fix warning with GCC 4.8.0

2013-03-27 Thread Anthony Liguori
Applied. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PATCH] compiler: fix warning with GCC 4.8.0

2013-03-27 Thread Richard Henderson
On 03/27/2013 06:34 AM, Paolo Bonzini wrote: > GCC 4.8.0 introduces a new warning: > > block/qcow2-snapshot.c: In function 'qcow2_write_snapshots’: > block/qcow2-snapshot.c:252:18: error: typedef 'qemu_build_bug_on__253' > locally defined but not used [-Werror=unused-local-ty

[Qemu-devel] [PATCH] compiler: fix warning with GCC 4.8.0

2013-03-27 Thread Paolo Bonzini
GCC 4.8.0 introduces a new warning: block/qcow2-snapshot.c: In function 'qcow2_write_snapshots’: block/qcow2-snapshot.c:252:18: error: typedef 'qemu_build_bug_on__253' locally defined but not used [-Werror=unused-local-typedefs] QEMU_BUILD_BUG_ON(offsetof(QCowHeader,