qemu/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
i386
netbsd
openbsd
sparc
sparc64
x86_64
bsd-mman.h
bsdload.c
elfload.c
errno_defs.h
main.c rename CONFIG_QEMU_PREFIX 2010-06-10 00:09:49 +02:00
mmap.c
qemu-types.h
qemu.h Replace most gcc format attributes by macro GCC_FMT_ATTR (format checking) 2010-10-03 06:34:36 +00:00
signal.c
strace.c
syscall.c
syscall_defs.h
uaccess.c