Просмотр исходного кода

build: Remove -Wno-unused-value from default CXXFLAGS

The ncurses bug (#542031) has long been fixed.
Guillem Jover лет назад: 12
Родитель
Сommit
252830d65d
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      m4/dpkg-compiler.m4

+ 1 - 2
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"