All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/3]: Fix build issue with error.h
@ 2011-07-13 14:23 Luiz Capitulino
  2011-07-13 14:23 ` [Qemu-devel] [PATCH 1/2] Introduce compiler.h header file Luiz Capitulino
  2011-07-13 14:23 ` [Qemu-devel] [PATCH 2/2] Error: Fix build when qemu-common.h is not included Luiz Capitulino
  0 siblings, 2 replies; 20+ messages in thread
From: Luiz Capitulino @ 2011-07-13 14:23 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.

v3
 o Drop license text from compiler.h

v2
 o Move compiler related macros from qemu-common.h to compiler.h

 compiler.h    |   31 +++++++++++++++++++++++++++++++
 error.h       |    1 +
 qemu-common.h |   25 +------------------------
 3 files changed, 33 insertions(+), 24 deletions(-)

^ permalink raw reply	[flat|nested] 20+ messages in thread
* [Qemu-devel] [PATCH v4 0/3]: Fix build issue with error.h saga
@ 2011-07-14 21:28 Luiz Capitulino
  2011-07-14 21:28 ` [Qemu-devel] [PATCH 1/2] Introduce compiler.h header file Luiz Capitulino
  0 siblings, 1 reply; 20+ messages in thread
From: Luiz Capitulino @ 2011-07-14 21:28 UTC (permalink / raw)
  To: qemu-devel; +Cc: mdroth, peter.maydell

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.

v4
 o Fix use of reserved double underscores
 o Add license text as asked by Malc

v3
 o Drop license text from compiler.h

v2
 o Move compiler related macros from qemu-common.h to compiler.h

 compiler.h    |   34 ++++++++++++++++++++++++++++++++++
 error.h       |    1 +
 qemu-common.h |   25 +------------------------
 3 files changed, 36 insertions(+), 24 deletions(-)

^ permalink raw reply	[flat|nested] 20+ messages in thread
* [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
  0 siblings, 1 reply; 20+ 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] 20+ messages in thread

end of thread, other threads:[~2011-07-14 21:28 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-13 14:23 [Qemu-devel] [PATCH v2 0/3]: Fix build issue with error.h Luiz Capitulino
2011-07-13 14:23 ` [Qemu-devel] [PATCH 1/2] Introduce compiler.h header file Luiz Capitulino
2011-07-13 14:37   ` malc
2011-07-13 16:20     ` Luiz Capitulino
2011-07-13 16:47       ` malc
2011-07-13 15:04   ` Peter Maydell
2011-07-13 16:27     ` Luiz Capitulino
2011-07-13 20:39       ` Stefan Weil
2011-07-14 12:57         ` Luiz Capitulino
2011-07-14 14:15           ` malc
2011-07-14 14:26             ` Luiz Capitulino
2011-07-14 14:35               ` malc
2011-07-14 10:58       ` Peter Maydell
2011-07-13 14:23 ` [Qemu-devel] [PATCH 2/2] Error: Fix build when qemu-common.h is not included Luiz Capitulino
  -- strict thread matches above, loose matches on Subject: below --
2011-07-14 21:28 [Qemu-devel] [PATCH v4 0/3]: Fix build issue with error.h saga Luiz Capitulino
2011-07-14 21:28 ` [Qemu-devel] [PATCH 1/2] Introduce compiler.h header file Luiz Capitulino
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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.