[Xcb] [PATCH libxcb 1/7] autoconf: disable -Wcast-qual warnings

Ran Benita ran234 at gmail.com
Sun Feb 23 12:55:15 PST 2014


Both the core code and the generated code spew huge amounts of this
warning. None of them point to a real issue, so just disable it.

Signed-off-by: Ran Benita <ran234 at gmail.com>
---
 configure.ac | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/configure.ac b/configure.ac
index 68c3b2f..e6ca02d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -31,6 +31,8 @@ XORG_DEFAULT_OPTIONS
 XORG_ENABLE_DEVEL_DOCS
 XORG_WITH_DOXYGEN
 
+XORG_TESTSET_CFLAG([BASE_CFLAGS], [-Wno-cast-qual])
+
 # The dot drawing tool is checked by XORG_WITH_DOXYGEN, needed for xcb manual
 if test x"$HAVE_DOT" = xno; then
     AC_MSG_WARN([dot not found - doxygen targets will be skipped])
-- 
1.9.0



More information about the Xcb mailing list