qemu-stable
[Top][All Lists]
Advanced

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

Re: [Qemu-stable] [Qemu-devel] [Bug 1205156] [NEW] Errors while compilin


From: Stefan Weil
Subject: Re: [Qemu-stable] [Qemu-devel] [Bug 1205156] [NEW] Errors while compiling version 1.5.2
Date: Fri, 26 Jul 2013 07:12:59 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130623 Thunderbird/17.0.7

Am 26.07.2013 04:03, schrieb jean-christophe manciot:
> Public bug reported:
>
> Environment: Ubuntu 13.04
>
> "hw/ide/macio.c: In function ‘pmac_ide_atapi_transfer_cb’:
> hw/ide/macio.c:134:9: error: format ‘%lx’ expects argument of type ‘long 
> unsigned int’, but argument 3 has type ‘hwaddr’ [-Werror=format]
> hw/ide/macio.c: In function ‘pmac_ide_transfer_cb’:
> hw/ide/macio.c:215:5: error: format ‘%ld’ expects argument of type ‘long 
> int’, but argument 5 has type ‘int64_t’ [-Werror=format]
> hw/ide/macio.c:222:9: error: format ‘%lx’ expects argument of type ‘long 
> unsigned int’, but argument 3 has type ‘hwaddr’ [-Werror=format]
> hw/ide/macio.c:264:9: error: format ‘%lx’ expects argument of type ‘long 
> unsigned int’, but argument 3 has type ‘hwaddr’ [-Werror=format]
> cc1: all warnings being treated as errors
> make: *** [hw/ide/macio.o] Error 1"
>
> I got the source files with a "git clone git://git.qemu-
> project.org/qemu.git" + a recent "git fetch"
>
> ** Affects: qemu
>      Importance: Undecided
>          Status: New
>



This patch should fix it: http://patchwork.ozlabs.org/patch/258774/.

It's also still missing in git master, but was already applied to
qemu-trivial.

Stefan





reply via email to

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