The following commit has been merged in the master branch:
commit 5243faaa0724e1ac43f19b98e8414d08f1d8c330
Author: Guillem Jover <[email protected]>
Date: Sat Sep 26 14:15:15 2009 +0200
build: Update compiler-warnings flags
Do not use -Werror for now (at leasat until ncurses is fixed). And add
-Wextra -Wno-unused-parameter -Wno-missing-field-initializers.
diff --git a/m4/compiler.m4 b/m4/compiler.m4
index 937457a..972a7f2 100644
--- a/m4/compiler.m4
+++ b/m4/compiler.m4
@@ -8,7 +8,7 @@ AC_DEFUN([DPKG_COMPILER_WARNINGS],
[AC_ARG_ENABLE(compiler-warnings,
AS_HELP_STRING([--enable-compiler-warnings],
[Enable additional compiler warnings]),
-[WFLAGS="-Wall -Werror"
+[WFLAGS="-Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers"
if test "x$enable_compiler_warnings" = "xyes"; then
if test "x$GCC" = "xyes"; then
CFLAGS="$WFLAGS $CFLAGS"
--
dpkg's main repository
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]