Re: [Qemu-devel] [PATCH] mips_fulong2e: Detect format errors for function prom_set

2010-09-20 Thread Blue Swirl
On Sat, Sep 11, 2010 at 6:46 AM, Stefan Weil wrote: > Add the necessary gcc attribute and fix the detected errors. The fixes are correct, so those parts could be applied. However the gnu_printf part will break with older compilers unless 1/2 is applied first. That part should also use GCC_FMT_AT

[Qemu-devel] [PATCH] mips_fulong2e: Detect format errors for function prom_set

2010-09-10 Thread Stefan Weil
Add the necessary gcc attribute and fix the detected errors. Cc: Aurelien Jarno Signed-off-by: Stefan Weil --- hw/mips_fulong2e.c |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/hw/mips_fulong2e.c b/hw/mips_fulong2e.c index cbe7156..2ef5070 100644 --- a/hw/mips_f