[PATCH 2/7] -pendantic is too pendantic
Keith Packard
keithp at keithp.com
Tue Nov 5 16:41:22 PST 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 7364383..835f7d5 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 \
+ CWARNFLAGS="-Wall -Wpointer-arith \
-Wstrict-prototypes -Wmissing-declarations -Wnested-externs"
else
AC_CHECK_DECL([__SUNPRO_C], [SUNCC="yes"], [SUNCC="no"])
--
1.8.4.2
More information about the xorg-devel
mailing list