blob: 959ce76e272695bf040a326acfae63c1b426acba (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
--- gdb/configure.orig 2016-10-07 19:09:21.000000000 +0200
+++ gdb/configure 2016-10-18 11:11:30.452542000 +0200
@@ -14256,9 +14256,8 @@
# These options work in either C or C++ modes.
build_warnings="-Wall -Wpointer-arith \
--Wno-unused -Wunused-value -Wunused-function \
--Wno-switch -Wno-char-subscripts \
--Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable"
+-Wno-unused -Wno-switch -Wno-char-subscripts \
+-Wempty-body"
# Now add in C and C++ specific options, depending on mode.
if test "$enable_build_with_cxx" = "yes"; then
@@ -14266,8 +14265,7 @@
-Wno-narrowing"
else
build_warnings="$build_warnings -Wpointer-sign -Wmissing-prototypes \
--Wdeclaration-after-statement -Wmissing-parameter-type \
--Wold-style-declaration -Wold-style-definition"
+-Wdeclaration-after-statement -Wold-style-definition"
fi
# Enable -Wno-format by default when using gcc on mingw since many
|