summaryrefslogtreecommitdiff
path: root/m4/dpkg-compiler.m4
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2013-10-25 03:19:58 +0200
committerGuillem Jover <guillem@debian.org>2013-10-27 05:06:17 +0100
commit252830d65df33097959ff4cda268f90e5373a4ac (patch)
treee01d28b73e1af8eabf6efff1d06d3e72d6d334e5 /m4/dpkg-compiler.m4
parent20f855ab44ee23543dd79f6e7103c96516e65419 (diff)
downloaddpkg-252830d65df33097959ff4cda268f90e5373a4ac.tar.gz
build: Remove -Wno-unused-value from default CXXFLAGS
The ncurses bug (#542031) has long been fixed.
Diffstat (limited to 'm4/dpkg-compiler.m4')
-rw-r--r--m4/dpkg-compiler.m43
1 files changed, 1 insertions, 2 deletions
diff --git a/m4/dpkg-compiler.m4 b/m4/dpkg-compiler.m4
index c649fbdeb..be8838889 100644
--- a/m4/dpkg-compiler.m4
+++ b/m4/dpkg-compiler.m4
@@ -17,8 +17,7 @@ WFLAGS="-Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers \
-Wvla -Winit-self -Wwrite-strings -Wcast-align -Wshadow"
WCFLAGS="-Wdeclaration-after-statement -Wnested-externs -Wbad-function-cast \
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition"
-# Temporarily here until #542031 gets fixed in ncurses
-WCXXFLAGS="-Wno-unused-value"
+WCXXFLAGS=""
if test "x$enable_compiler_warnings" = "xyes"; then
if test "x$GCC" = "xyes"; then
CFLAGS="$WFLAGS $WCFLAGS $CFLAGS"