[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 0/2]: Fix build issue with error.h
From: |
Luiz Capitulino |
Subject: |
[Qemu-devel] [PATCH v2 0/2]: Fix build issue with error.h |
Date: |
Tue, 12 Jul 2011 16:00:04 -0300 |
A .c file including error.h and not including qemu-common.h will break the
build, because error.h uses a macro defined in qemu-common.h.
The simple and obvious fix would be to change error.h to include
qemu-common.h. But this is overkill, so this series does some splitting in
qemu-common.h and changes error.h to include only what it really needs.
Please, refer to the patches for more details.
v2
o move compiler related macros from qemu-common.h to compiler.h
compiler.h | 38 ++++++++++++++++++++++++++++++++++++++
error.h | 1 +
qemu-common.h | 25 +------------------------
3 files changed, 40 insertions(+), 24 deletions(-)
- [Qemu-devel] [PATCH v2 0/2]: Fix build issue with error.h,
Luiz Capitulino <=
[Qemu-devel] [PATCH 2/2] Error: Fix build when qemu-common.h is not included, Luiz Capitulino, 2011/07/12