qemu-e2k/bsd-user
Stefan Weil e5924d8980 Replace most gcc format attributes by macro GCC_FMT_ATTR (format checking)
Since version 4.4.x, gcc supports additional format attributes.
    __attribute__ ((format (gnu_printf, 1, 2)))
should be used instead of
    __attribute__ ((format (printf, 1, 2))
because QEMU always uses standard format strings (even with mingw32).

The patch replaces format attribute printf / __printf__ by macro
GCC_FMT_ATTR which uses gnu_printf if supported.

It also removes an #ifdef __GNUC__ (not needed any longer).

Cc: Blue Swirl <blauwirbel@gmail.com>
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
2010-10-03 06:34:36 +00:00
..
freebsd bsd-user: FreeBSD update 2009-10-18 15:16:08 +00:00
i386 bsd-user: FreeBSD update 2009-10-18 15:16:08 +00:00
netbsd
openbsd
sparc
sparc64
x86_64 bsd-user: FreeBSD update 2009-10-18 15:16:08 +00:00
bsd-mman.h
bsdload.c More NULL pointer fixes 2009-08-01 10:13:20 +00:00
elfload.c bsd-user: FreeBSD update 2009-10-18 15:16:08 +00:00
errno_defs.h
main.c rename CONFIG_QEMU_PREFIX 2010-06-10 00:09:49 +02:00
mmap.c Fix bsd-user qemu_vmalloc() host page protection code 2010-03-30 17:44:51 +00:00
qemu-types.h linux-user: Move abi_* typedefs into qemu-types.h 2008-12-08 18:12:04 +00:00
qemu.h Replace most gcc format attributes by macro GCC_FMT_ATTR (format checking) 2010-10-03 06:34:36 +00:00
signal.c Update to a hopefully more future proof FSF address 2009-07-16 20:47:01 +00:00
strace.c bsd-users: fix strace 2009-07-17 17:48:03 +00:00
syscall_defs.h bsd-user: FreeBSD update 2009-10-18 15:16:08 +00:00
syscall.c bsd-user: fix breakage by 78cfb07fe0 2009-10-18 18:44:38 +00:00
uaccess.c fix build warnings 2009-07-17 17:48:01 +00:00