All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Jan Beulich" <JBeulich@suse.com>
To: dgdegra@tycho.nsa.gov
Cc: xen-devel@lists.xensource.com
Subject: Re: [xen-unstable test] 10332: regressions - FAIL
Date: Mon, 05 Dec 2011 09:25:49 +0000	[thread overview]
Message-ID: <4EDC9C2D02000078000655D1@nat28.tlf.novell.com> (raw)
In-Reply-To: <osstest-10332-mainreport@xen.org>

>>> On 05.12.11 at 05:11, xen.org <ian.jackson@eu.citrix.com> 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

  reply	other threads:[~2011-12-05  9:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-05  4:11 [xen-unstable test] 10332: regressions - FAIL xen.org
2011-12-05  9:25 ` Jan Beulich [this message]
2011-12-05 11:29   ` [PATCH] flask: Fix 32-bit compilation of label-pci tool Daniel De Graaf
2011-12-05 11:34   ` [PATCH v2] " Daniel De Graaf
2011-12-05 18:05     ` Olaf Hering
2011-12-05 18:45       ` [PATCH v3] " Daniel De Graaf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4EDC9C2D02000078000655D1@nat28.tlf.novell.com \
    --to=jbeulich@suse.com \
    --cc=dgdegra@tycho.nsa.gov \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.