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: Paolo Bonzini
Subject: Re: [Qemu-devel] [PULL 00/27] Misc patches for 2016-10-31
Date: Mon, 31 Oct 2016 18:57:14 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0


On 31/10/2016 18:20, Peter Maydell wrote:
> 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).

Ok, will do it tomorrow.

Paolo



reply via email to

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