On 3 June 2014 17:15, Michal Privoznik <mpriv...@redhat.com> 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 operand of comma 
> expression has no effect [-Werror=unused-value]
>       (hptr)), 0)
>              ^
> qemu.git/linux-user/qemu.h:316:31: note: in expansion of macro ‘__get_user_e’
>  # define __get_user(x, hptr)  __get_user_e(x, hptr, le)
>                                ^
> qemu/qemu.git/linux-user/syscall.c:704:9: note: in expansion of macro 
> ‘__get_user’
>          __get_user(b, &target_fds[i]);
>          ^

See this patchseries from Riku in April:
https://lists.gnu.org/archive/html/qemu-devel/2014-04/msg03528.html

thanks
-- PMM

Reply via email to