qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v4 2/7] qtest: add test framework


From: Stefan Weil
Subject: Re: [Qemu-devel] [PATCH v4 2/7] qtest: add test framework
Date: Fri, 30 Mar 2012 19:40:33 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20120317 Iceowl/1.0b1 Icedove/3.0.11

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

Regards,
Stefan W.




reply via email to

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