qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH] linux-user: Rework __put_user and __get_user
Date: Tue, 3 Jun 2014 18:27:37 +0100

On 3 June 2014 17:15, Michal Privoznik <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]