qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/2]: Fix build issue with error.h
@ 2011-07-12 19:00 Luiz Capitulino
  2011-07-12 19:00 ` [Qemu-devel] [PATCH 1/2] Introduce compiler.h header file Luiz Capitulino
  2011-07-12 19:00 ` [Qemu-devel] [PATCH 2/2] Error: Fix build when qemu-common.h is not included Luiz Capitulino
  0 siblings, 2 replies; 7+ messages in thread
From: Luiz Capitulino @ 2011-07-12 19:00 UTC (permalink / raw)
  To: qemu-devel; +Cc: aliguori, mdroth

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(-)

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-07-12 20:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-12 19:00 [Qemu-devel] [PATCH v2 0/2]: Fix build issue with error.h Luiz Capitulino
2011-07-12 19:00 ` [Qemu-devel] [PATCH 1/2] Introduce compiler.h header file Luiz Capitulino
2011-07-12 20:31   ` malc
2011-07-12 20:34     ` Luiz Capitulino
2011-07-12 20:43       ` malc
2011-07-12 20:52         ` Luiz Capitulino
2011-07-12 19:00 ` [Qemu-devel] [PATCH 2/2] Error: Fix build when qemu-common.h is not included Luiz Capitulino

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).