Received: from eggs.gnu.org ([2001:4830:134:3::10]:38551) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIczv-0000VC-4f for qemu-devel@nongnu.org; Thu, 30 Jun 2016 10:31:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bIczu-0000I6-7C for qemu-devel@nongnu.org; Thu, 30 Jun 2016 10:31:19 -0400 Received: from mx1.redhat.com ([209.132.183.28]:49010) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIczu-0000Hx-28 for qemu-devel@nongnu.org; Thu, 30 Jun 2016 10:31:18 -0400 References: <1467291213-13393-1-git-send-email-armbru@redhat.com> <1467291213-13393-2-git-send-email-armbru@redhat.com> <52f14da8-1ddc-fd17-2ddd-4eedddcec4e9@redhat.com> <87r3be3g19.fsf@dusky.pond.sub.org> From: Paolo Bonzini Message-ID: <6a0097a4-b67f-11e3-3cd6-993ad63cdc49@redhat.com> Date: Thu, 30 Jun 2016 16:31:13 +0200 MIME-Version: 1.0 In-Reply-To: <87r3be3g19.fsf@dusky.pond.sub.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH RFC v3 1/5] tests: New make target check-source List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Armbruster Cc: qemu-devel@nongnu.org, peter.maydell@linaro.org, silbe@linux.vnet.ibm.com On 30/06/2016 16:30, Markus Armbruster wrote: >>> >> + >>> >> +/* NOTE: May only be included into target-dependent code */ >> > >> > This shouldn't be true for cpu-qom.h. >> > >> > Perhaps >> > Paolo > Here's what made me mark the header: > > $ make tests/headers/target-sparc/cpu-qom.o > [...] > CC tests/headers/target-sparc/cpu-qom.o > In file included from tests/headers/target-sparc/cpu-qom.c:14:0: > /work/armbru/qemu/target-sparc/cpu-qom.h:28:8: error: attempt to use poisoned "TARGET_SPARC64" > #ifdef TARGET_SPARC64 > ^ > /work/armbru/qemu/rules.mak:59: recipe for target 'tests/headers/target-sparc/cpu-qom.o' failed > make: *** [tests/headers/target-sparc/cpu-qom.o] Error 1 > > Error context: > > #ifdef TARGET_SPARC64 > #define TYPE_SPARC_CPU "sparc64-cpu" > #else > #define TYPE_SPARC_CPU "sparc-cpu" > #endif Good, this one is a FIXME then. :) Paolo