-pendantic is too pendantic
authorKeith Packard <keithp@keithp.com>
Fri, 18 Jan 2013 09:28:56 +0000 (01:28 -0800)
committerKeith Packard <keithp@keithp.com>
Thu, 7 Nov 2013 22:02:00 +0000 (14:02 -0800)
Many system headers have warnings when compiled with this flag.

Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-By: Uli Schlachter <psychon@znc.in>
configure.ac

index 6c107bc..4a30584 100644 (file)
@@ -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"])