Received: from eggs.gnu.org ([140.186.70.92]:54272) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhTSP-0005kq-62 for qemu-devel@nongnu.org; Thu, 14 Jul 2011 17:28:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QhTSL-0006Z1-4D for qemu-devel@nongnu.org; Thu, 14 Jul 2011 17:28:28 -0400 Received: from mx1.redhat.com ([209.132.183.28]:42667) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhTSK-0006YZ-CG for qemu-devel@nongnu.org; Thu, 14 Jul 2011 17:28:24 -0400 From: Luiz Capitulino Date: Thu, 14 Jul 2011 18:28:04 -0300 Message-Id: <1310678886-13985-1-git-send-email-lcapitulino@redhat.com> Subject: [Qemu-devel] [PATCH v4 0/3]: Fix build issue with error.h saga List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: mdroth@linux.vnet.ibm.com, peter.maydell@linaro.org 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(-)