diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2013-03-27 14:34:32 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2013-03-27 10:10:14 -0500 |
commit | 99835e00849369bab726a4dc4ceed1f6f9ed967c (patch) | |
tree | 210bf1813fcfc5afd92a705d0d4c2b0ff1aad83c /spice-qemu-char.c | |
parent | 404e7a4f4af753bd2aef649adf79e7434fb6dc31 (diff) |
compiler: fix warning with GCC 4.8.0
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, snapshots_offset) !=
^
cc1: all warnings being treated as errors
(Caret diagnostics aren't perfect yet with macros... :)) Work around it
with __attribute__((unused)).
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 1364391272-1128-1-git-send-email-pbonzini@redhat.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'spice-qemu-char.c')
0 files changed, 0 insertions, 0 deletions