[Xcb] [PATCH 2/8] -pendantic is too pendantic
Keith Packard
keithp at keithp.com
Thu Nov 7 04:45:39 CET 2013
Many system headers have warnings when compiled with this flag.
Signed-off-by: Keith Packard <keithp at keithp.com>
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 6c107bc..4a30584 100644
--- a/configure.ac
+++ b/configure.ac
@@ -128,7 +128,7 @@ xcbincludedir='${includedir}/xcb'
AC_SUBST(xcbincludedir)
if test "x$GCC" = xyes ; then
- CWARNFLAGS="-Wall -pedantic -Wpointer-arith -Wold-style-definition \
+ CWARNFLAGS="-Wall -Wpointer-arith -Wold-style-definition \
-Wstrict-prototypes -Wmissing-declarations -Wnested-externs"
else
AC_CHECK_DECL([__SUNPRO_C], [SUNCC="yes"], [SUNCC="no"])
--
1.8.4.2
More information about the Xcb
mailing list