All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: Stefan Weil <weil@mail.berlios.de>
Cc: Paolo Bonzini <pbonzini@redhat.com>,
	Anthony Liguori <aliguori@us.ibm.com>,
	qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH v4 2/7] qtest: add test framework
Date: Fri, 30 Mar 2012 12:50:34 -0500	[thread overview]
Message-ID: <4F75F26A.80801@codemonkey.ws> (raw)
In-Reply-To: <4F75F011.1040505@mail.berlios.de>

On 03/30/2012 12:40 PM, Stefan Weil wrote:
> Hi
>
> this commit breaks builds on Linux i386:
>
> CC libhw64/qtest.o
> cc1: warnings being treated as errors
> /home/stefan/src/qemu/qemu.org/qemu/qtest.c: In function ‘qtest_send_prefix’:
> /home/stefan/src/qemu/qemu.org/qemu/qtest.c:156: error: format ‘%lld’ expects
> type ‘long long int’, but argument 3 has type ‘__time_t’
> /home/stefan/src/qemu/qemu.org/qemu/qtest.c:156: error: format ‘%06lld’ expects
> type ‘long long int’, but argument 4 has type ‘__suseconds_t’
> (more follow)
>
> The size of the timeval elements is only 32 bit on my Debian installation,
> Therefore this format string in qtest.c does not work:
>
> +#define FMT_timeval "%" PRId64 ".%06" PRId64

Does %ld work instead of PRId64?

Regards,

Anthony Liguori

>
> Regards,
> Stefan W.
>
>

  reply	other threads:[~2012-03-30 17:50 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-28 13:42 [Qemu-devel] [PATCH v4 0/7] new test infrastructure + qtest Paolo Bonzini
2012-03-28 13:42 ` [Qemu-devel] [PATCH v4 1/7] test makefile overhaul Paolo Bonzini
2012-03-28 13:42 ` [Qemu-devel] [PATCH v4 2/7] qtest: add test framework Paolo Bonzini
2012-03-30 17:40   ` Stefan Weil
2012-03-30 17:50     ` Anthony Liguori [this message]
2012-03-30 17:52       ` Stefan Weil
2012-03-30 17:53         ` Anthony Liguori
2012-03-30 18:37           ` Paolo Bonzini
2012-03-28 13:42 ` [Qemu-devel] [PATCH v4 3/7] qtest: IRQ interception infrastructure Paolo Bonzini
2012-03-28 13:42 ` [Qemu-devel] [PATCH v4 4/7] qtest: add clock management Paolo Bonzini
2012-03-28 13:42 ` [Qemu-devel] [PATCH v4 5/7] qtest: add C version of test infrastructure Paolo Bonzini
2012-03-28 13:42 ` [Qemu-devel] [PATCH v4 6/7] rtc: split out macros into a header file and use in test case Paolo Bonzini
2012-03-28 13:42 ` [Qemu-devel] [PATCH v4 7/7] qtest: add rtc-test test-case Paolo Bonzini
2012-03-30 17:15   ` Blue Swirl
2012-03-30 17:22     ` Blue Swirl
2012-03-30 17:49       ` Anthony Liguori
2012-03-30 17:53         ` Blue Swirl
2012-03-30 17:29     ` Anthony Liguori
2012-03-30 17:37       ` Blue Swirl
2012-03-28 17:43 ` [Qemu-devel] [PATCH v4 0/7] new test infrastructure + qtest Anthony Liguori
2012-03-30 14:45 ` Anthony Liguori

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=4F75F26A.80801@codemonkey.ws \
    --to=anthony@codemonkey.ws \
    --cc=aliguori@us.ibm.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=weil@mail.berlios.de \
    /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.