qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PULL 00/27] Misc patches for 2016-10-31


From: Peter Maydell
Subject: Re: [Qemu-devel] [PULL 00/27] Misc patches for 2016-10-31
Date: Mon, 31 Oct 2016 17:20:06 +0000

On 31 October 2016 at 17:18, Alex Bennée <address@hidden> wrote:
> Peter Maydell <address@hidden> writes:
>> Fails to build on OSX (format string issues) :-(
>>
>> /home/petmay01/qemu/exec.c: In function 'file_ram_alloc':
>> /home/petmay01/qemu/exec.c:1338:9: error: format '%llu' expects
>> argument of type 'long long unsigned int', but argument 8 has type
>> 'ram_addr_t' [-Werror=format=]
>>          error_setg(errp, "backing store %s size %"PRId64
>>          ^
>
> It should be using RAM_ADDR_FMT right?

Yes. (Watch out that RAM_ADDR_FMT includes the % for you, whereas
PRId64 does not).

thanks
-- PMM



reply via email to

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