[PATCH/committed 2/2] sim: mn10300: enable -Werror

Mike Frysinger via Gdb-patches
2021-06-15T03:48:35Z

Now that all warnings are fixed in this port, enable -Werror by default.
---
sim/mn10300/ChangeLog | 5 +
sim/mn10300/configure | 213 ++++++++++++++++++++-------------------
sim/mn10300/configure.ac | 1 -
3 files changed, 113 insertions(+), 106 deletions(-)

diff --git a/sim/mn10300/ChangeLog b/sim/mn10300/ChangeLog
index ff7d6c18f117..0083c1a433cb 100644
--- a/sim/mn10300/ChangeLog
+++ b/sim/mn10300/ChangeLog
@@ -1,3 +1,8 @@
+2021-06-14 Mike Frysinger <vapier@gentoo.org>
+
+ * configure.ac: Delete all to SIM_AC_OPTION_WARNINGS.
+ * configure: Regenerate.
+
2021-06-14 Mike Frysinger <vapier@gentoo.org>

* mn10300.igen: Change abort to sim_engine_abort.
diff --git a/sim/mn10300/configure.ac b/sim/mn10300/configure.ac
index b09159d7d47f..6754136f6d96 100644
--- a/sim/mn10300/configure.ac
+++ b/sim/mn10300/configure.ac
@@ -5,7 +5,6 @@ AC_CONFIG_MACRO_DIRS([../m4 ../.. ../../config])
SIM_AC_COMMON

SIM_AC_OPTION_ENDIAN(LITTLE)
-SIM_AC_OPTION_WARNINGS(no)
SIM_AC_OPTION_RESERVED_BITS
SIM_AC_OPTION_BITSIZE(32,31)
SIM_AC_OPTION_HARDWARE(mn103cpu mn103int mn103tim mn103ser mn103iop)
--
2.31.1