Riku Voipio a42267ef58 linux-user: fix gcc-4.9 compiler error on __{get,put]}_user
gcc-4.9 finds unused operand:

linux-user/syscall.c: In function ‘host_to_target_stat64’:
linux-user/qemu.h:301:19: error: right-hand operand of comma expression
has no effect [-Werror=unused-value]
      ((hptr), (x)), 0)

Just removing the rh operand is no good, it will error in later:

linux-user/main.c: In function ‘arm_kernel_cmpxchg64_helper’:
linux-user/qemu.h:330:15: error: void value not ignored as it ought to be
         __ret = __put_user((x), __hptr);    \

Thus, remove setting __ret from __get_user and __put_user, as and
set the right hand operand to (void)0 to make it clear that these
return never nothing.

This commit depends on the signal.c cleanup, to ensure bisectable
version history.

Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Cc: Richard Henderson <rth@twiddle.net>
2014-06-17 08:52:08 +03:00
2014-06-16 17:23:21 +08:00
2014-06-10 07:44:01 +02:00
2014-06-16 18:26:21 +01:00
2014-06-16 18:26:21 +01:00
2014-06-16 13:24:35 +02:00
2014-06-16 13:24:35 +02:00
2014-06-16 13:24:41 +02:00
2014-06-05 16:10:33 +02:00
2014-06-05 16:10:33 +02:00
2014-06-05 16:10:33 +02:00
2014-06-10 09:50:27 +02:00
2014-06-05 16:10:33 +02:00
2014-06-16 12:27:47 +01:00
2014-06-13 12:34:57 +02:00
2014-06-16 18:26:21 +01:00
2014-06-16 13:24:35 +02:00
2014-06-09 15:43:40 +02:00
2014-06-16 17:23:21 +08:00
2014-06-16 18:26:21 +01:00
2014-06-05 16:10:33 +02:00
2014-05-20 11:57:52 +01:00
2014-06-09 15:43:40 +02:00
2014-05-24 00:07:29 +04:00
2014-05-28 17:36:21 +02:00
2014-06-16 17:23:21 +08:00
2014-06-09 15:43:40 +02:00
2014-05-28 14:28:46 +02:00
2014-05-24 00:07:29 +04:00
2014-06-05 16:10:33 +02:00
2014-05-07 16:16:43 +00:00
2014-06-11 00:25:06 +01:00

Read the documentation in qemu-doc.html or on http://wiki.qemu-project.org

- QEMU team
Description
Original Xbox Emulator for Windows, macOS, and Linux (Active Development)
Readme 524 MiB
Languages
C 82.5%
C++ 7%
Python 3.3%
Dylan 2.8%
Shell 1.5%
Other 2.6%