aboutsummaryrefslogtreecommitdiff
path: root/sim/cris/configure
diff options
context:
space:
mode:
Diffstat (limited to 'sim/cris/configure')
-rwxr-xr-xsim/cris/configure11
1 files changed, 4 insertions, 7 deletions
diff --git a/sim/cris/configure b/sim/cris/configure
index 1f0b812..42490ac 100755
--- a/sim/cris/configure
+++ b/sim/cris/configure
@@ -13249,15 +13249,12 @@ if test "${ERROR_ON_WARNING}" = yes ; then
true
fi
-# The entries after -Wno-pointer-sign are disabled warnings which may
-# be enabled in the future, which can not currently be used to build
-# GDB.
-# NOTE: If you change this list, remember to update
-# gdb/doc/gdbint.texinfo.
build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
--Wno-pointer-sign \
+-Wpointer-sign \
-Wno-unused -Wunused-value -Wunused-function \
--Wno-switch -Wno-char-subscripts -Wmissing-prototypes"
+-Wno-switch -Wno-char-subscripts -Wmissing-prototypes
+-Wdeclaration-after-statement -Wempty-body -Wmissing-parameter-type \
+-Wold-style-declaration -Wold-style-definition"
# Enable -Wno-format by default when using gcc on mingw since many
# GCC versions complain about %I64.