[PATCH xserver 0/4] meson: Fix DEBUG definition
Lyude Paul
lyude at redhat.com
Fri Oct 13 19:44:28 UTC 2017
At the moment, meson makes the mistake of never defining the DEBUG
macro, regardless of the current build type. Unfortunately, just
enabling that definition by default for debug builds brought up a good
number of compiler warnings and errors from other files that were being
silenced due to that.
This series makes it so meson defines DEBUG when the buildtype is debug,
while additionally also fixing all of the compiler warnings/errors this
causes in the default configuration.
Lyude Paul (4):
fbdevhw: Fix inconsistent #if DEBUG usage
x86emu: Fix type conversion warnings on x86_64 with DEBUG
meson: Silence -Wformat-nonliteral for x86emu
meson: Don't forget to define DEBUG!
hw/xfree86/fbdevhw/fbdevhw.c | 6 +++---
hw/xfree86/int10/meson.build | 6 ++++++
hw/xfree86/x86emu/sys.c | 12 ++++++------
hw/xfree86/x86emu/x86emu/types.h | 1 +
include/meson.build | 4 +++-
5 files changed, 19 insertions(+), 10 deletions(-)
--
2.13.6
More information about the xorg-devel
mailing list