qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH RFC v3 1/5] tests: New make target check-source


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH RFC v3 1/5] tests: New make target check-source
Date: Thu, 30 Jun 2016 16:31:13 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1


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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]