qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v2 1/2] libqos: improve event_index test with ti


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH v2 1/2] libqos: improve event_index test with timeout
Date: Sat, 11 Oct 2014 12:46:59 +0100

On 11 October 2014 12:43, Peter Maydell <address@hidden> wrote:
> Hi; just noticed this breaks 'make check' build on MacOSX:
>
> /Users/pm215/src/qemu/tests/libqos/virtio.c:84:25: warning: implicit
> declaration of function
>       'g_get_monotonic_time' is invalid in C99 
> [-Wimplicit-function-declaration]
>     gint64 start_time = g_get_monotonic_time();
>                         ^
> (and subsequent linker error).
>
> g_get_monotonic_time() only appeared in glib 2.28, and our
> minimum is 2.12.

vhost-user-test.c has a helper function that has a fallback
for not having g_get_monotonic_time(); we probably want to
put that somewhere more generally accessible.

-- PMM



reply via email to

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