On Tue, Apr 10, 2012 at 11:18:56AM +0200, Erik Rull wrote:
>  Hi all,
> 
> on the current git master, I cannot compile any more.
> 
> The error is:
> 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'
> 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
> 

Looks like a missing include. Try adding #include <glib.h>

> 
> Must have appeared within the last 14 days.
> 
> Best regards,
> 
> Erik
> 

Reply via email to