diff options
author | Guillem Jover <guillem@debian.org> | 2009-09-26 14:15:15 +0200 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2009-09-26 14:23:44 +0200 |
commit | 5243faaa0724e1ac43f19b98e8414d08f1d8c330 (patch) | |
tree | ada2fd9fc0292be03133d5cc30c366a0b5e75002 /m4 | |
parent | 1d099a33185ef2cd8ce461175e93641a56462b43 (diff) | |
download | dpkg-5243faaa0724e1ac43f19b98e8414d08f1d8c330.tar.gz |
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.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/compiler.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/compiler.m4 b/m4/compiler.m4 index 937457ad9..972a7f255 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" |