qemu/darwin-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
..
commpage.c Fix %lld or %llx printf format use 2010-05-22 08:02:12 +00:00
ioctls.h Darwin userspace emulation, by Pierre d'Herbemont. 2007-01-18 20:06:33 +00:00
ioctls_types.h Add missing newline at the end of file 2008-12-14 08:50:18 +00:00
machload.c Revert "Get rid of _t suffix" 2009-10-01 16:12:16 -05:00
main.c darwin-user: Add missing static attribute 2010-05-07 16:28:12 +00:00
mmap.c bsd/darwin-user: mmap_frag() users only check for -1 error 2010-01-31 13:41:07 +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
syscall.c Fix %lld or %llx printf format use 2010-05-22 08:02:12 +00:00
syscalls.h Handling more darwin-user syscalls, by Ilya Shar. 2007-03-19 13:43:04 +00:00