Re: [Qemu-devel] [PATCH] linux-user: Rework __put_user and __get_user

2014-06-03 Thread Peter Maydell
On 3 June 2014 17:15, Michal Privoznik wrote: > With the latest gcc-4.9.0 I'm getting some compile errors: > > In file included from qemu.git/linux-user/syscall.c:113:0: > qemu.git/linux-user/syscall.c: In function ‘copy_from_user_fdset’: > qemu.git/linux-user/qemu.h:309:13: error: right-hand oper

[Qemu-devel] [PATCH] linux-user: Rework __put_user and __get_user

2014-06-03 Thread Michal Privoznik
With the latest gcc-4.9.0 I'm getting some compile errors: In file included from qemu.git/linux-user/syscall.c:113:0: qemu.git/linux-user/syscall.c: In function ‘copy_from_user_fdset’: qemu.git/linux-user/qemu.h:309:13: error: right-hand operand of comma expression has no effect [-Werror=unused-v