[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] libvixl: Add gcc format attribute
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH] libvixl: Add gcc format attribute |
Date: |
Wed, 18 Jun 2014 09:26:54 +0100 |
On 18 June 2014 05:45, Stefan Weil <address@hidden> wrote:
> A 32 bit build on Ubuntu gcc-4.6.3-1ubuntu5 just finished and shows the
> same error messages, so really all of my builds show them (32 and 64
> bit, Linux native and cross for Windows).
>
> Peter, I know that libvixl is external code, but posted this patch
> because I need help: I simply don't know why the compiler complains and
> whether these errors are really errors. It's easy to "fix" them by using
> PRId64, but would that be correct?
>
> Variable arguments usually are not converted to 64 bit values: if they
> are smaller than int, they are expanded to int, and larger values are
> passed as they are. But here obviously the compiler expands uint32_t to
> int64_t. Why?
Unfortunately I don't know the answer... I was hoping RTH did.
thanks
-- PMM
- [Qemu-devel] [PATCH] libvixl: Add gcc format attribute, Stefan Weil, 2014/06/17
- Re: [Qemu-devel] [PATCH] libvixl: Add gcc format attribute, Peter Maydell, 2014/06/17
- Re: [Qemu-devel] [PATCH] libvixl: Add gcc format attribute, Richard Henderson, 2014/06/18
- Re: [Qemu-devel] [PATCH] libvixl: Add gcc format attribute, Stefan Weil, 2014/06/18
- Re: [Qemu-devel] [PATCH] libvixl: Add gcc format attribute, Stefan Weil, 2014/06/18
- Re: [Qemu-devel] [PATCH] libvixl: Add gcc format attribute,
Peter Maydell <=
- Re: [Qemu-devel] [PATCH] libvixl: Add gcc format attribute, Paolo Bonzini, 2014/06/18
- Re: [Qemu-devel] [PATCH] libvixl: Add gcc format attribute, Richard Henderson, 2014/06/18
- Re: [Qemu-devel] [PATCH] libvixl: Add gcc format attribute, Stefan Weil, 2014/06/18
- Re: [Qemu-devel] [PATCH] libvixl: Add gcc format attribute, Peter Maydell, 2014/06/18
- Re: [Qemu-devel] [PATCH] libvixl: Add gcc format attribute, Peter Maydell, 2014/06/18