Re: [Qemu-devel] [PATCH] target-i386: fix build with -Werror

2012-06-29 Thread Blue Swirl
On Fri, Jun 29, 2012 at 7:35 PM, Stefan Weil wrote: > Am 29.06.2012 08:41, schrieb Dunrong Huang: >> >> Commit c4baa0503d9623f1ce891f525ccd140c598bc29a improved SSE table type >> safety but raises compile error of incompatible pointer type. Fix it by >> casting to correct function type Signed-off-

Re: [Qemu-devel] [PATCH] target-i386: fix build with -Werror

2012-06-29 Thread Stefan Weil
Am 29.06.2012 08:41, schrieb Dunrong Huang: Commit c4baa0503d9623f1ce891f525ccd140c598bc29a improved SSE table type safety but raises compile error of incompatible pointer type. Fix it by casting to correct function type Signed-off-by: Dunrong Huang --- target-i386/translate.c | 22 ++

Re: [Qemu-devel] [PATCH] target-i386: fix build with -Werror

2012-06-29 Thread Dunrong Huang
2012/6/29 Andreas Färber : > Am 29.06.2012 08:41, schrieb Dunrong Huang: >> Commit c4baa0503d9623f1ce891f525ccd140c598bc29a improved SSE table type >> safety but raises compile error of incompatible pointer type. > > What's the difference between the signatures? > The SSEFunc_0_pi is declared as: t

Re: [Qemu-devel] [PATCH] target-i386: fix build with -Werror

2012-06-29 Thread Andreas Färber
Am 29.06.2012 08:41, schrieb Dunrong Huang: > Commit c4baa0503d9623f1ce891f525ccd140c598bc29a improved SSE table type > safety but raises compile error of incompatible pointer type. What's the difference between the signatures? Regards, Andreas > Fix it by casting to correct function type > > S

[Qemu-devel] [PATCH] target-i386: fix build with -Werror

2012-06-28 Thread Dunrong Huang
Commit c4baa0503d9623f1ce891f525ccd140c598bc29a improved SSE table type safety but raises compile error of incompatible pointer type. Fix it by casting to correct function type Signed-off-by: Dunrong Huang --- target-i386/translate.c | 22 +++--- 1 files changed, 11 insertions(