qemu/include
Paolo Bonzini 1e13c01d2a disas: avoid including everything in headers compiled from C++
disas/arm-a64.cc is careful to include only the bare minimum that
it needs---qemu/osdep.h and disas/bfd.h.  Unfortunately, disas/bfd.h
then includes qemu-common.h, which brings in qemu/option.h and from
there we get the kitchen sink.

This causes problems because for example QEMU's atomic macros
conflict with C++ atomic types.  But really all that bfd.h needs
is the fprintf_function typedef, so replace the inclusion of
qemu-common.h with qemu/fprintf-fn.h.

Reported-by: Sean Bruno <sbruno@freebsd.org>
Tested-by: Sean Bruno <sbruno@freebsd.org>
Cc: Peter Maydell <peter.maydell@linaro.org>
Cc: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2016-07-12 18:31:27 +02:00
..
block scsi-bus: Add SCSI scanner support 2016-07-12 18:31:26 +02:00
crypto crypto: add support for TLS priority string override 2016-07-04 15:52:43 +01:00
disas disas: avoid including everything in headers compiled from C++ 2016-07-12 18:31:27 +02:00
exec tcg: Improve the alignment check infrastructure 2016-07-05 20:50:13 -07:00
fpu softfloat: Implement run-time-configurable meaning of signaling NaN bit 2016-06-24 13:40:37 +01:00
hw scsi-bus: Use longer sense buffer with scanners 2016-07-12 18:31:26 +02:00
io sockets: Use new QAPI cloning 2016-07-06 10:52:04 +02:00
libdecnumber include: Clean up includes 2016-02-23 12:43:05 +00:00
migration scsi: esp: fix migration 2016-06-29 14:03:47 +02:00
monitor Use scripts/clean-includes to drop redundant qemu/typedefs.h 2016-03-22 22:20:16 +01:00
net tap: vhost busy polling support 2016-07-07 14:29:04 +08:00
qapi sockets: Use new QAPI cloning 2016-07-06 10:52:04 +02:00
qemu qdev: Eliminate qemu_add_globals() function 2016-07-07 15:24:50 -03:00
qom cpu: Use CPUClass->parse_features() as convertor to global properties 2016-07-07 15:25:01 -03:00
standard-headers linux-headers: update 2016-06-14 13:34:50 +02:00
sysemu Block layer patches 2016-07-05 17:53:02 +01:00
ui gtk: fix build 2016-07-11 10:40:29 +01:00
elf.h linux-user: Update preprocessor constants for Mips-specific e_flags bits 2016-06-24 13:41:45 +01:00
glib-compat.h vhost-user-test: fix g_cond_wait_until compat implementation 2016-06-29 16:49:40 +02:00
qemu-common.h qemu-common.h: Drop WORDS_ALIGNED define 2016-06-07 18:19:24 +03:00
qemu-io.h qemu-io: Use BlockBackend 2015-02-16 15:07:19 +00:00
trace-tcg.h trace: [tcg] Generate TCG tracing routines 2014-08-12 14:26:12 +01:00
trace.h trace: [tcg] Include event definitions in "trace.h" 2014-08-12 14:26:12 +01:00