[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] configure: require glib 2.12, 2.20 for mingw32
From: |
Gerd Hoffmann |
Subject: |
Re: [Qemu-devel] [PATCH] configure: require glib 2.12, 2.20 for mingw32 |
Date: |
Mon, 16 Apr 2012 13:08:01 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:10.0.3) Gecko/20120307 Thunderbird/10.0.3 |
On 04/05/12 13:01, Paolo Bonzini wrote:
> These are pretty sane requirements to move forward with glib usage.
> 2.12 is the version found in RHEL/CentOS 5, and 2.20 is the
> first version to support g_poll. Without g_poll, we cannot
> integrate well with the glib main loop.
We have a glib-related rhel5 build failure though:
CC qapi/qmp-input-visitor.o
qapi/qmp-input-visitor.c: In function ‘qmp_input_pop’:
qapi/qmp-input-visitor.c:92: error: ‘GHashTableIter’ undeclared (first
use in this function)
qapi/qmp-input-visitor.c:92: error: (Each undeclared identifier is
reported only once
qapi/qmp-input-visitor.c:92: error: for each function it appears in.)
qapi/qmp-input-visitor.c:92: error: expected ‘;’ before ‘iter’
cc1: warnings being treated as errors
qapi/qmp-input-visitor.c:96: warning: implicit declaration of function
‘g_hash_table_iter_init’
qapi/qmp-input-visitor.c:96: warning: nested extern declaration of
‘g_hash_table_iter_init’
qapi/qmp-input-visitor.c:96: error: ‘iter’ undeclared (first use in this
function)
qapi/qmp-input-visitor.c:97: warning: implicit declaration of function
‘g_hash_table_iter_next’
qapi/qmp-input-visitor.c:97: warning: nested extern declaration of
‘g_hash_table_iter_next’
make: *** [qapi/qmp-input-visitor.o] Error 1
Guess 2.12 just hasn't hash tables yet, so we have to figure whenever we
want raise the minimum glib version or stop using glib hash tables.
cheers,
Gerd