qemu-block
[Top][All Lists]
Advanced

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

Re: [Qemu-block] [Qemu-devel] [PULL 00/32] Block layer patches


From: Peter Maydell
Subject: Re: [Qemu-block] [Qemu-devel] [PULL 00/32] Block layer patches
Date: Mon, 11 Jul 2016 17:14:58 +0100

On 8 July 2016 at 18:21, Kevin Wolf <address@hidden> wrote:
> The following changes since commit 4f4a9ca4a4386c137301b3662faba076455ff15a:
>
>   Merge remote-tracking branch 
> 'remotes/pmaydell/tags/pull-target-arm-20160707' into staging (2016-07-07 
> 14:49:38 +0100)
>
> are available in the git repository at:
>
>
>   git://repo.or.cz/qemu/kevin.git tags/for-upstream
>
> for you to fetch changes up to 72292c12eb88453734fc0bd8ab751970c2254f96:
>
>   Merge remote-tracking branch 'mreitz/tags/pull-block-for-kevin-2016-07-08' 
> into queue-block (2016-07-08 18:36:31 +0200)
>
> ----------------------------------------------------------------
>
> Block layer patches

Format string warning on OSX, I'm afraid:

/Users/pm215/src/qemu-for-merges/qemu-io-cmds.c:393:69: warning:
format specifies type 'size_t' (aka 'unsigned long') but the argument
has type 'unsigned long long' [-Wformat]
            printf("Argument '%s' exceeds maximum size %zu\n", arg, SIZE_MAX);
                                                       ~~~          ^~~~~~~~
                                                       %llu
/usr/include/stdint.h:153:20: note: expanded from macro 'SIZE_MAX'
#define SIZE_MAX          UINT64_MAX
                          ^~~~~~~~~~
/usr/include/stdint.h:87:27: note: expanded from macro 'UINT64_MAX'
#define UINT64_MAX        18446744073709551615ULL
                          ^~~~~~~~~~~~~~~~~~~~~~~

This is a bug in the OSX system headers, but we need to work around
it. This came up last year for some other format strings in the
some source file, so the same fix should be ok here:
https://patchwork.ozlabs.org/patch/542327/

thanks
-- PMM



reply via email to

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