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))...
slirp: Silence warning on Haiku
Haiku has O_BINARY in fcntl.h.
Signed-off-by: Andreas Färber <andreas.faerber@web.de>Cc: Jan Kiszka <jan.kiszka@web.de>Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
tap: Add stub for Haiku
Adapted from AIX code.
Signed-off-by: Andreas Färber <andreas.faerber@web.de>Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
nbd: Haiku has _IO() in its BSD compatibility layer
Haiku doesn't have libm
Math functions are integrated into Haiku's libroot.
configure: Don't rely on special pthreads library
Haiku has pthreads integrated into its libroot.so library. No linker argumentsare needed for it, so don't fail if -lpthread and similar don't link.
Signed-off-by: Andreas Färber <andreas.faerber@web.de>...
configure: Add basic support for Haiku
For compatibility with BeOS, Haiku's error codes are negative whereas recentPOSIX versions require them to be positive. As spotted by François, someparts of QEMU code rely on this, so use a mapper library to convert them...
trace: avoid unnecessary recompilation if nothing changed
Add logic to detect changes in generated files. If the oldand new files are identical, don't touch the generated file.This avoids a lot of churn since many files depend on trace.h.
Based on suggestion by Paolo Bonzini....
Makefile: fix config-devices.mak generation
The logic of detecting changes in default-configs/*.mak isflawed as can be demonstrated by 'touch default-configs/*.mak'followed by make. This results in a message claiming that usermade changes to the */config-devices.mak files....
sysbus: fix address truncation
Fix address truncation in sysbus by using a wider type.
Reported-by: Artyom Tarasenko <atar4qemu@googlemail.com>Tested-by: Andreas Färber <andreas.faerber@web.de>Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
View all revisions | View revisions
Also available in: Atom