Changeset View
Changeset View
Standalone View
Standalone View
head/devel/gdb/files/patch-gdb_configure
--- gdb/configure.orig 2017-09-14 09:28:17 UTC | --- gdb/configure.orig 2017-09-14 09:28:17 UTC | ||||
+++ gdb/configure | +++ gdb/configure | ||||
@@ -15292,13 +15292,10 @@ if test "${ERROR_ON_WARNING}" = yes ; then | @@ -15467,10 +15467,10 @@ fi | ||||
WERROR_CFLAGS="-Werror" | |||||
fi | |||||
-# The options we'll try to enable. | # The options we'll try to enable. | ||||
+# These options work in either C or C++ modes. | |||||
build_warnings="-Wall -Wpointer-arith \ | build_warnings="-Wall -Wpointer-arith \ | ||||
--Wno-unused -Wunused-value -Wunused-function \ | --Wno-unused -Wunused-value -Wunused-function \ | ||||
--Wno-switch -Wno-char-subscripts \ | +-Wno-unused \ | ||||
-Wno-switch -Wno-char-subscripts \ | |||||
--Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable \ | --Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable \ | ||||
--Wno-sign-compare -Wno-narrowing -Wno-error=maybe-uninitialized \ | --Wno-sign-compare -Wno-narrowing -Wno-error=maybe-uninitialized \ | ||||
--Wno-mismatched-tags" | +-Wempty-body \ | ||||
+-Wno-unused -Wno-switch -Wno-char-subscripts \ | +-Wno-sign-compare -Wno-narrowing \ | ||||
+-Wempty-body -Wno-sign-compare -Wno-narrowing -Wno-mismatched-tags" | -Wno-mismatched-tags \ | ||||
-Wno-error=deprecated-register \ | |||||
case "${host}" in | -Wsuggest-override \ | ||||
*-*-mingw32*) |