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 | ||||
@@ -15103,12 +15103,10 @@ if test "${ERROR_ON_WARNING}" = yes ; then | @@ -15292,13 +15292,10 @@ if test "${ERROR_ON_WARNING}" = yes ; then | ||||
WERROR_CFLAGS="-Werror" | WERROR_CFLAGS="-Werror" | ||||
fi | fi | ||||
-# The options we'll try to enable. | -# The options we'll try to enable. | ||||
+# These options work in either C or C++ modes. | +# 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-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-sign-compare -Wno-narrowing -Wno-error=maybe-uninitialized \ | ||||
--Wno-mismatched-tags" | |||||
+-Wno-unused -Wno-switch -Wno-char-subscripts \ | +-Wno-unused -Wno-switch -Wno-char-subscripts \ | ||||
+-Wempty-body -Wno-sign-compare -Wno-narrowing -Wno-mismatched-tags" | +-Wempty-body -Wno-sign-compare -Wno-narrowing -Wno-mismatched-tags" | ||||
# Enable -Wno-format by default when using gcc on mingw since many | case "${host}" in | ||||
# GCC versions complain about %I64. | *-*-mingw32*) |