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

Re: [Xen-devel] [xen-unstable test] 10332: regressions - FAIL



>>> On 05.12.11 at 05:11, xen.org <ian.jackson@xxxxxxxxxxxxx> wrote:
>  build-i386                    4 xen-build                 fail REGR. vs. 
> 10201

cc1: warnings being treated as errors
label-pci.c: In function 'main':
label-pci.c:79: error: format '%lx' expects type 'long unsigned int *', but 
argument 3 has type 'uint64_t *'
label-pci.c:79: error: format '%lx' expects type 'long unsigned int *', but 
argument 4 has type 'uint64_t *'
label-pci.c:79: error: format '%lx' expects type 'long unsigned int *', but 
argument 5 has type 'uint64_t *'
label-pci.c:85: error: format '%lx' expects type 'long unsigned int', but 
argument 3 has type 'uint64_t'
label-pci.c:85: error: format '%lx' expects type 'long unsigned int', but 
argument 4 has type 'uint64_t'
label-pci.c:95: error: format '%lx' expects type 'long unsigned int', but 
argument 3 has type 'uint64_t'
label-pci.c:95: error: format '%lx' expects type 'long unsigned int', but 
argument 4 has type 'uint64_t'
label-pci.c:108: error: format '%ld' expects type 'long int *', but argument 3 
has type 'uint64_t *'
label-pci.c:113: error: format '%ld' expects type 'long int', but argument 3 
has type 'uint64_t'
make[5]: *** [label-pci.o] Error 1

This is due to entirely non-portable code in tools/flask/utils/label-pci.c: If
you use C99 types, you also need to use C99 format macros for calls to
the printf and scanf function families.

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.