[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [PATCH 01/14] arm host: Fix compiler warning
From: |
Stefan Weil |
Subject: |
[Qemu-devel] Re: [PATCH 01/14] arm host: Fix compiler warning |
Date: |
Wed, 20 Jan 2010 23:11:36 +0100 |
User-agent: |
Mozilla-Thunderbird 2.0.0.22 (X11/20090707) |
Stefan Weil schrieb:
> Compilation for arm (native or cross) results in this
> warning:
>
> fpu/softfloat-native.c: In function ‘float64_round_to_int’:
> fpu/softfloat-native.c:387: error: control reaches end of non-void function
>
> float64_round_to_int uses special assembler code for arm
> and has no explicit return value.
>
> As there is no obvious reason why arm should need special
> code, all fpu related conditionals were removed.
> The remaining code is standard (C99) and compiles for arm,
> too.
>
> Signed-off-by: Stefan Weil <address@hidden>
> ---
> fpu/softfloat-native.c | 20 --------------------
> fpu/softfloat-native.h | 7 -------
> 2 files changed, 0 insertions(+), 27 deletions(-)
>
The "subject" line was wrong: the patch is complete
and can be applied as it is.
I'm sorry if I created confusion.
Stefan Weil