Re: [Qemu-devel] Fix the glib deprecated APIs

2013-01-14 Thread Stefan Hajnoczi
On Fri, Jan 11, 2013 at 09:40:59PM +0530, Ramesh G wrote: > Hi, > > I got a couple of below compilation errors while compiling with glib > > 2.32. > > $ make > CC../trace/simple.o > ../trace/simple.c: In function ‘trace_thread_create’: > ../trace/simple.c:407:5: error: ‘g_thread_create’ is

Re: [Qemu-devel] Fix the glib deprecated APIs

2013-01-14 Thread Stefan Hajnoczi
On Fri, Jan 11, 2013 at 06:01:53PM +0100, Paolo Bonzini wrote: > Il 11/01/2013 17:10, Ramesh G ha scritto: > > > > Hi, > > > > I got a couple of below compilation errors while compiling with glib > > > 2.32. > > > > $ make > > CC../trace/simple.o > > ../trace/simple.c: In function ‘trace

Re: [Qemu-devel] Fix the glib deprecated APIs

2013-01-11 Thread Paolo Bonzini
Il 11/01/2013 17:10, Ramesh G ha scritto: > > Hi, > > I got a couple of below compilation errors while compiling with glib > > 2.32. > > $ make > CC../trace/simple.o > ../trace/simple.c: In function ‘trace_thread_create’: > ../trace/simple.c:407:5: error: ‘g_thread_create’ is deprecated

Re: [Qemu-devel] Fix the glib deprecated APIs

2013-01-11 Thread Peter Maydell
On 11 January 2013 16:10, Ramesh G wrote: > I got a couple of below compilation errors while compiling with glib > 2.32. Stefan: see also commit d1b719e98 which fixed these warnings in coroutine-gthread.c. -- PMM

[Qemu-devel] Fix the glib deprecated APIs

2013-01-11 Thread Ramesh G
Hi, I got a couple of below compilation errors while compiling with glib > 2.32. $ make CC../trace/simple.o ../trace/simple.c: In function ‘trace_thread_create’: ../trace/simple.c:407:5: error: ‘g_thread_create’ is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:100)