]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
sim: enable -Werror by default for some arches
authorMike Frysinger <vapier@gentoo.org>
Sat, 9 Jan 2021 06:16:11 +0000 (01:16 -0500)
committerMike Frysinger <vapier@gentoo.org>
Sat, 9 Jan 2021 14:19:37 +0000 (09:19 -0500)
We've had this off for a long time because the sim code was way too
full of warnings for it to be feasible.  However, I've cleaned things
up significantly from when this was first merged, and we can start to
turn this around.

Change the macro to enable -Werror by default, and allow ports to opt
out.  New ports will get it automatically (and we can push back on
them if they try to turn it off).

Also turn it off for the few ports that still hit warnings for me.
All the rest will get the new default, and we'll wait for feedback
if/when new issues come up.

53 files changed:
sim/aarch64/ChangeLog
sim/aarch64/configure
sim/arm/ChangeLog
sim/arm/configure
sim/avr/ChangeLog
sim/avr/configure
sim/bfin/ChangeLog
sim/bfin/configure
sim/common/ChangeLog
sim/common/acinclude.m4
sim/cr16/ChangeLog
sim/cr16/configure
sim/cr16/configure.ac
sim/cris/ChangeLog
sim/cris/configure
sim/cris/configure.ac
sim/d10v/ChangeLog
sim/d10v/configure
sim/d10v/configure.ac
sim/ft32/ChangeLog
sim/ft32/configure
sim/igen/ChangeLog
sim/igen/configure
sim/m32c/ChangeLog
sim/m32c/configure
sim/m32c/configure.ac
sim/m68hc11/ChangeLog
sim/m68hc11/configure
sim/m68hc11/configure.ac
sim/mcore/ChangeLog
sim/mcore/configure
sim/mcore/configure.ac
sim/microblaze/ChangeLog
sim/microblaze/configure
sim/mips/ChangeLog
sim/mips/configure
sim/mips/configure.ac
sim/mn10300/ChangeLog
sim/mn10300/configure
sim/mn10300/configure.ac
sim/moxie/ChangeLog
sim/moxie/configure
sim/moxie/configure.ac
sim/msp430/ChangeLog
sim/msp430/configure
sim/pru/ChangeLog
sim/pru/configure
sim/sh/ChangeLog
sim/sh/configure
sim/sh/configure.ac
sim/v850/ChangeLog
sim/v850/configure
sim/v850/configure.ac

index 97e33401afc9bf8433284c6137aee0dd940c011a..5708802be00d0941768c190085b1eb75fb15bea5 100644 (file)
@@ -1,3 +1,7 @@
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
 2021-01-08  Mike Frysinger  <vapier@gentoo.org>
 
        * configure: Regenerate.
index a5ed5c95da924f724102cbf4a392bf8668bb29c1..6df9f8d7f3e348ab47b630d01dee4c70689431df 100755 (executable)
@@ -13688,11 +13688,9 @@ if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
 fi
 
 WERROR_CFLAGS=""
-if test "${ERROR_ON_WARNING}" = yes ; then
-# NOTE: Disabled in the sim dir due to most sims generating warnings.
-#    WERROR_CFLAGS="-Werror"
-     true
-fi
+  if test "${ERROR_ON_WARNING}" = yes ; then
+    WERROR_CFLAGS="-Werror"
+  fi
 
 build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
 -Wpointer-sign \
index 560632a0a87a8e4d104738d077f16b54996f3bb9..67060927b068ed529822ce8bcceadc79b41786c1 100644 (file)
@@ -1,3 +1,7 @@
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
 2021-01-08  Mike Frysinger  <vapier@gentoo.org>
 
        * configure: Regenerate.
index 692cd9004d740f376380e2971993157b1645e2a3..34002b2e04782d10487a78ea2ce5aeec7c56d507 100755 (executable)
@@ -13684,11 +13684,9 @@ if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
 fi
 
 WERROR_CFLAGS=""
-if test "${ERROR_ON_WARNING}" = yes ; then
-# NOTE: Disabled in the sim dir due to most sims generating warnings.
-#    WERROR_CFLAGS="-Werror"
-     true
-fi
+  if test "${ERROR_ON_WARNING}" = yes ; then
+    WERROR_CFLAGS="-Werror"
+  fi
 
 build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
 -Wpointer-sign \
index 810bd5864ade16b1a55a8103012892a2b3be7c05..c368fa4681be6254fe343a1d1a9cf06a2a80bb44 100644 (file)
@@ -1,3 +1,7 @@
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
 2021-01-08  Mike Frysinger  <vapier@gentoo.org>
 
        * configure: Regenerate.
index 7cc3478c42de28b4117c9e79c7743df9b2009948..5246f8efbfd9d27da4693a6ec3aebbcfcb975c0c 100755 (executable)
@@ -13684,11 +13684,9 @@ if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
 fi
 
 WERROR_CFLAGS=""
-if test "${ERROR_ON_WARNING}" = yes ; then
-# NOTE: Disabled in the sim dir due to most sims generating warnings.
-#    WERROR_CFLAGS="-Werror"
-     true
-fi
+  if test "${ERROR_ON_WARNING}" = yes ; then
+    WERROR_CFLAGS="-Werror"
+  fi
 
 build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
 -Wpointer-sign \
index 12127ecbf7c185b06eda1848f9b464195e9313e0..1ac810e8a1e49ad95b0597ecf910fc1589ce420a 100644 (file)
@@ -1,3 +1,7 @@
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
 2021-01-08  Mike Frysinger  <vapier@gentoo.org>
 
        * configure: Regenerate.
index 0492d3893c1c1b2f2c279f7b1d8947d108f1d06e..4131fb57e8093b425841238c46a4501f38e68623 100755 (executable)
@@ -13743,11 +13743,9 @@ if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
 fi
 
 WERROR_CFLAGS=""
-if test "${ERROR_ON_WARNING}" = yes ; then
-# NOTE: Disabled in the sim dir due to most sims generating warnings.
-#    WERROR_CFLAGS="-Werror"
-     true
-fi
+  if test "${ERROR_ON_WARNING}" = yes ; then
+    WERROR_CFLAGS="-Werror"
+  fi
 
 build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
 -Wpointer-sign \
index 28284ff844423f566c969268340f68cd3fc48a4e..fea1ab2ff037de0d265ac0faeb2c33b48ec10dc9 100644 (file)
@@ -1,3 +1,8 @@
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * acinclude.m4 (SIM_AC_OPTION_WARNINGS): Document 1st argument.
+       Set WERROR_CFLAGS when first arg is not set or is "yes".
+
 2021-01-09  Mike Frysinger  <vapier@gentoo.org>
 
        * hw-base.c (full_name_of_hw): Delete full_name.  Replace
index 49d56b97f9bd5f7a95717531a2dbf67f879b7366..65afb429d6e88a884ffc1e6c82c5f03840f6a497 100644 (file)
@@ -737,6 +737,7 @@ AC_MSG_RESULT($sim_smp)
 
 dnl --enable-build-warnings is for developers of the simulator.
 dnl it enables extra GCC specific warnings.
+dnl arg[1] Enable -Werror by default? ("yes" or "no")
 AC_DEFUN([SIM_AC_OPTION_WARNINGS],
 [
 AC_ARG_ENABLE(werror,
@@ -753,11 +754,11 @@ if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
 fi
 
 WERROR_CFLAGS=""
-if test "${ERROR_ON_WARNING}" = yes ; then
-# NOTE: Disabled in the sim dir due to most sims generating warnings.
-#    WERROR_CFLAGS="-Werror"
-     true
-fi
+m4_if(m4_default([$1], [yes]), [yes], [dnl
+  if test "${ERROR_ON_WARNING}" = yes ; then
+    WERROR_CFLAGS="-Werror"
+  fi
+])dnl
 
 build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
 -Wpointer-sign \
index 1de8e15b55ea170d699b8478f27952bdd8c554a0..2b58f8845e69b546b92988df93f7f3041dd5024c 100644 (file)
@@ -1,3 +1,8 @@
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_WARNINGS): Pass "no".
+       * configure: Regenerate.
+
 2021-01-08  Mike Frysinger  <vapier@gentoo.org>
 
        * configure: Regenerate.
index ff93efd92db375e19e39c7b71b5daea12c0a0d79..bfde3169e34ba20fbec26ac4eb427d854800efcc 100755 (executable)
@@ -13684,11 +13684,6 @@ if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
 fi
 
 WERROR_CFLAGS=""
-if test "${ERROR_ON_WARNING}" = yes ; then
-# NOTE: Disabled in the sim dir due to most sims generating warnings.
-#    WERROR_CFLAGS="-Werror"
-     true
-fi
 
 build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
 -Wpointer-sign \
index 4f416b9247afb370315c2ffecc50e57318e45aae..3155e4bd14feaa500defe7563b58b5367b2c7dd9 100644 (file)
@@ -6,6 +6,6 @@ SIM_AC_COMMON
 
 SIM_AC_OPTION_ENDIAN(LITTLE)
 SIM_AC_OPTION_ALIGNMENT(NONSTRICT_ALIGNMENT)
-SIM_AC_OPTION_WARNINGS
+SIM_AC_OPTION_WARNINGS(no)
 
 SIM_AC_OUTPUT
index 1c4bda1f0c2af105c4d01189ef521dd0cd223098..0a057d9fcb37878ddb7d4f9136da079ef33ec188 100644 (file)
@@ -1,3 +1,8 @@
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_WARNINGS): Pass "no".
+       * configure: Regenerate.
+
 2021-01-08  Mike Frysinger  <vapier@gentoo.org>
 
        * configure: Regenerate.
index 96f545df4b0c4dafff8d0bc498e89d804b15accc..e75a8ced0cbd563cf18cbcb8289e31567e4e57a1 100755 (executable)
@@ -13732,11 +13732,6 @@ if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
 fi
 
 WERROR_CFLAGS=""
-if test "${ERROR_ON_WARNING}" = yes ; then
-# NOTE: Disabled in the sim dir due to most sims generating warnings.
-#    WERROR_CFLAGS="-Werror"
-     true
-fi
 
 build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
 -Wpointer-sign \
index 2ac3266577ae4bdc558254e8de75c12e11b677a8..12e0023e864ec5d69f84792380c900260199a037 100644 (file)
@@ -10,7 +10,7 @@ AC_CHECK_HEADERS(sys/socket.h sys/select.h limits.h sys/param.h)
 SIM_AC_OPTION_ENDIAN(LITTLE)
 SIM_AC_OPTION_ALIGNMENT(NONSTRICT_ALIGNMENT)
 SIM_AC_OPTION_SCACHE(16384)
-SIM_AC_OPTION_WARNINGS
+SIM_AC_OPTION_WARNINGS(no)
 SIM_AC_OPTION_HARDWARE(yes,,rv cris cris_900000xx)
 
 # The default model shouldn't matter as long as there's a BFD.
index a53becd6558010d4118ec29f4492ef242166b892..cad30638e98886d82bac144404b9469252f9f156 100644 (file)
@@ -1,3 +1,8 @@
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_WARNINGS): Pass "no".
+       * configure: Regenerate.
+
 2021-01-08  Mike Frysinger  <vapier@gentoo.org>
 
        * configure: Regenerate.
index 692cd9004d740f376380e2971993157b1645e2a3..f0ce157bee77f4aa658e274ea8c55efab874bf70 100755 (executable)
@@ -13684,11 +13684,6 @@ if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
 fi
 
 WERROR_CFLAGS=""
-if test "${ERROR_ON_WARNING}" = yes ; then
-# NOTE: Disabled in the sim dir due to most sims generating warnings.
-#    WERROR_CFLAGS="-Werror"
-     true
-fi
 
 build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
 -Wpointer-sign \
index 5dffa14bccc47f11ddc2042e9ee0d7d4b168f6e9..1551df5a4a6d3207f63018b9af8561c0db4ec0d5 100644 (file)
@@ -6,6 +6,6 @@ SIM_AC_COMMON
 
 SIM_AC_OPTION_ENDIAN
 SIM_AC_OPTION_ALIGNMENT(STRICT_ALIGNMENT,STRICT_ALIGNMENT)
-SIM_AC_OPTION_WARNINGS
+SIM_AC_OPTION_WARNINGS(no)
 
 SIM_AC_OUTPUT
index 48235fb69165a1ac1b71ba8e766a6280fe2b3917..ad31e24e01f6a92c13f84fa34d8b04a32b54aadb 100644 (file)
@@ -1,3 +1,7 @@
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
 2021-01-08  Mike Frysinger  <vapier@gentoo.org>
 
        * configure: Regenerate.
index 94c3a43b3027f5c9024aa29924ed55f1bec946a9..4defb86a7bb0e674e4f24d7bfda5cf9a9922afc6 100755 (executable)
@@ -13684,11 +13684,9 @@ if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
 fi
 
 WERROR_CFLAGS=""
-if test "${ERROR_ON_WARNING}" = yes ; then
-# NOTE: Disabled in the sim dir due to most sims generating warnings.
-#    WERROR_CFLAGS="-Werror"
-     true
-fi
+  if test "${ERROR_ON_WARNING}" = yes ; then
+    WERROR_CFLAGS="-Werror"
+  fi
 
 build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
 -Wpointer-sign \
index bf2ee3e912ee5b8bde152641ac9cc921fb5ccf26..7f9e87aa917bd850e5a4f59d7ed2e64a6473a431 100644 (file)
@@ -1,3 +1,7 @@
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
 2021-01-04  Mike Frysinger  <vapier@gentoo.org>
 
        * gen-icache.c, igen.c: Include stdlib.h.
index 9ed39bfa128fc1aa4aa8b98b9612093d5b6c3c59..0239c526163295be14e74628e7cd5ba171312386 100755 (executable)
@@ -4810,11 +4810,9 @@ if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
 fi
 
 WERROR_CFLAGS=""
-if test "${ERROR_ON_WARNING}" = yes ; then
-# NOTE: Disabled in the sim dir due to most sims generating warnings.
-#    WERROR_CFLAGS="-Werror"
-     true
-fi
+  if test "${ERROR_ON_WARNING}" = yes ; then
+    WERROR_CFLAGS="-Werror"
+  fi
 
 build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
 -Wpointer-sign \
index 1179044b5f44abe8d241faa5f471642cca06930e..ccaae943eef51bc924d62c78ddb268df0467cd9a 100644 (file)
@@ -1,3 +1,8 @@
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_WARNINGS): Pass "no".
+       * configure: Regenerate.
+
 2021-01-08  Mike Frysinger  <vapier@gentoo.org>
 
        * configure: Regenerate.
index 29df076e598bedc3fd04aeed516b3e218a03a1ab..18cd590a9138e5f50db04eb38953c0683c229c36 100755 (executable)
@@ -13586,11 +13586,6 @@ if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
 fi
 
 WERROR_CFLAGS=""
-if test "${ERROR_ON_WARNING}" = yes ; then
-# NOTE: Disabled in the sim dir due to most sims generating warnings.
-#    WERROR_CFLAGS="-Werror"
-     true
-fi
 
 build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
 -Wpointer-sign \
index 435741904adaea747d5f4d4f27e428348fc6d533..9477c23b7a1a0f390eb443c952c4ccb56a5d252e 100644 (file)
@@ -23,7 +23,7 @@ sinclude(../common/acinclude.m4)
 
 SIM_AC_COMMON
 
-SIM_AC_OPTION_WARNINGS
+SIM_AC_OPTION_WARNINGS(no)
 
 AC_CHECK_HEADERS(sys/select.h termios.h sys/socket.h netinet/in.h netinet/tcp.h)
 
index 5f57a70710aac9d6b683ee2bcbc8662c09d6d040..c10bf1f49ac514041217d18b92d053b1cc3487e7 100644 (file)
@@ -1,3 +1,8 @@
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_WARNINGS): Pass "no".
+       * configure: Regenerate.
+
 2021-01-08  Mike Frysinger  <vapier@gentoo.org>
 
        * configure: Regenerate.
index 2d8ff6b8e4b8daf0f745af8de57d91fc9c8af6ec..44a1daa1323c10d6c9497649ad6ee4330b694e3c 100755 (executable)
@@ -13687,11 +13687,6 @@ if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
 fi
 
 WERROR_CFLAGS=""
-if test "${ERROR_ON_WARNING}" = yes ; then
-# NOTE: Disabled in the sim dir due to most sims generating warnings.
-#    WERROR_CFLAGS="-Werror"
-     true
-fi
 
 build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
 -Wpointer-sign \
index 34760decd8659b236befaf553135896f995c9f20..800da69c8e40a5de77163a0701fd44c3cc0c82c1 100644 (file)
@@ -7,7 +7,7 @@ SIM_AC_COMMON
 dnl Options available in this module
 SIM_AC_OPTION_ENDIAN(BIG)
 SIM_AC_OPTION_ALIGNMENT(NONSTRICT_ALIGNMENT)
-SIM_AC_OPTION_WARNINGS
+SIM_AC_OPTION_WARNINGS(no)
 
 #
 # Add simulated hardware devices
index b0b065455f769613af3dc65cc12ed17b1357f707..3fa83bd9f7789a2b2b63c5e954d6852567397309 100644 (file)
@@ -1,3 +1,8 @@
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_WARNINGS): Pass "no".
+       * configure: Regenerate.
+
 2021-01-08  Mike Frysinger  <vapier@gentoo.org>
 
        * configure: Regenerate.
index 692cd9004d740f376380e2971993157b1645e2a3..f0ce157bee77f4aa658e274ea8c55efab874bf70 100755 (executable)
@@ -13684,11 +13684,6 @@ if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
 fi
 
 WERROR_CFLAGS=""
-if test "${ERROR_ON_WARNING}" = yes ; then
-# NOTE: Disabled in the sim dir due to most sims generating warnings.
-#    WERROR_CFLAGS="-Werror"
-     true
-fi
 
 build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
 -Wpointer-sign \
index 5dffa14bccc47f11ddc2042e9ee0d7d4b168f6e9..1551df5a4a6d3207f63018b9af8561c0db4ec0d5 100644 (file)
@@ -6,6 +6,6 @@ SIM_AC_COMMON
 
 SIM_AC_OPTION_ENDIAN
 SIM_AC_OPTION_ALIGNMENT(STRICT_ALIGNMENT,STRICT_ALIGNMENT)
-SIM_AC_OPTION_WARNINGS
+SIM_AC_OPTION_WARNINGS(no)
 
 SIM_AC_OUTPUT
index 793e46c313b99666e73acb6dd70417819762d4f5..523971ca99c20b223de2bc99459c48b5f82829aa 100644 (file)
@@ -1,3 +1,7 @@
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
 2021-01-08  Mike Frysinger  <vapier@gentoo.org>
 
        * configure: Regenerate.
index 692cd9004d740f376380e2971993157b1645e2a3..34002b2e04782d10487a78ea2ce5aeec7c56d507 100755 (executable)
@@ -13684,11 +13684,9 @@ if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
 fi
 
 WERROR_CFLAGS=""
-if test "${ERROR_ON_WARNING}" = yes ; then
-# NOTE: Disabled in the sim dir due to most sims generating warnings.
-#    WERROR_CFLAGS="-Werror"
-     true
-fi
+  if test "${ERROR_ON_WARNING}" = yes ; then
+    WERROR_CFLAGS="-Werror"
+  fi
 
 build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
 -Wpointer-sign \
index 17d5ab7d91a8055749c6e1ba8fde2f2a07f5602d..f69a59d970eec3fa84ab031f627fa9d40af64f1e 100644 (file)
@@ -1,3 +1,8 @@
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_WARNINGS): Pass "no".
+       * configure: Regenerate.
+
 2021-01-08  Mike Frysinger  <vapier@gentoo.org>
 
        * configure: Regenerate.
index 7180ced00e165bd2a3d8ef28e0e6d6810a3313c4..b226e38e28b834284052a4d1489733fc7d6aecf9 100755 (executable)
@@ -13672,11 +13672,6 @@ if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
 fi
 
 WERROR_CFLAGS=""
-if test "${ERROR_ON_WARNING}" = yes ; then
-# NOTE: Disabled in the sim dir due to most sims generating warnings.
-#    WERROR_CFLAGS="-Werror"
-     true
-fi
 
 build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
 -Wpointer-sign \
index 63670f269a0c3674669223ef60217bc91ec7196b..ad99e648e095475392c1d74a78bb90f357c60032 100644 (file)
@@ -6,7 +6,7 @@ SIM_AC_COMMON
 
 dnl Options available in this module
 SIM_AC_OPTION_ALIGNMENT(NONSTRICT_ALIGNMENT)
-SIM_AC_OPTION_WARNINGS
+SIM_AC_OPTION_WARNINGS(no)
 SIM_AC_OPTION_RESERVED_BITS(1)
 
 # DEPRECATED
index 8f3c1111795451ca8ffff00bd8798e3b3ff88181..c35be9edab0fc7b22d08c725f9e89ca31cc0ccb0 100644 (file)
@@ -1,3 +1,8 @@
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_WARNINGS): Pass "no".
+       * configure: Regenerate.
+
 2021-01-08  Mike Frysinger  <vapier@gentoo.org>
 
        * configure: Regenerate.
index b8d356604bab0cac89ef929c7d9261f6a90fe589..52d8a12612328db58d0110bfebac8597d9d5d389 100755 (executable)
@@ -13693,11 +13693,6 @@ if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
 fi
 
 WERROR_CFLAGS=""
-if test "${ERROR_ON_WARNING}" = yes ; then
-# NOTE: Disabled in the sim dir due to most sims generating warnings.
-#    WERROR_CFLAGS="-Werror"
-     true
-fi
 
 build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
 -Wpointer-sign \
index 33ca50f055bd43118e73e75a4cb59561ebf9ebe9..d888d3c1492185269107fa60832bc438d54f8e2f 100644 (file)
@@ -6,7 +6,7 @@ SIM_AC_COMMON
 
 SIM_AC_OPTION_ENDIAN(LITTLE)
 SIM_AC_OPTION_ALIGNMENT(NONSTRICT_ALIGNMENT)
-SIM_AC_OPTION_WARNINGS
+SIM_AC_OPTION_WARNINGS(no)
 SIM_AC_OPTION_RESERVED_BITS
 SIM_AC_OPTION_BITSIZE(32,31)
 SIM_AC_OPTION_HARDWARE(yes,,mn103cpu mn103int mn103tim mn103ser mn103iop)
index 8e1b1abe0084d1377e29cdadf12c385d84b095ca..c084f39c14eac1015869ad1cb13e13a9e0f1bbb7 100644 (file)
@@ -1,3 +1,8 @@
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_WARNINGS): Pass "no".
+       * configure: Regenerate.
+
 2021-01-08  Mike Frysinger  <vapier@gentoo.org>
 
        * configure: Regenerate.
index 598d6547c6fc465ad387155015cbf8c5f52257a9..7def667124708d1bcf7199a130756d555c6457e8 100755 (executable)
@@ -13778,11 +13778,6 @@ if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
 fi
 
 WERROR_CFLAGS=""
-if test "${ERROR_ON_WARNING}" = yes ; then
-# NOTE: Disabled in the sim dir due to most sims generating warnings.
-#    WERROR_CFLAGS="-Werror"
-     true
-fi
 
 build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
 -Wpointer-sign \
index 3f2e55389e3aecbfb1c3f0c784eb36d566733f2a..a02e13a3dcb59475cd8ec8d67113f331b49b9738 100644 (file)
@@ -8,6 +8,6 @@ AC_CHECK_TOOL(DTC, dtc)
 
 SIM_AC_OPTION_ENDIAN(BIG)
 SIM_AC_OPTION_ALIGNMENT(STRICT_ALIGNMENT)
-SIM_AC_OPTION_WARNINGS
+SIM_AC_OPTION_WARNINGS(no)
 
 SIM_AC_OUTPUT
index bc5a1e8ae5b17f8441737f59d14f529ba501b84b..1f1a0c457b29da19f72c7b077821f201ed6b8e23 100644 (file)
@@ -1,3 +1,7 @@
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
 2021-01-08  Mike Frysinger  <vapier@gentoo.org>
 
        * configure: Regenerate.
index e6f51281d4e927bbe8d12a1a515090021d75bca9..0e125ce1c9b4fada35e6480149bc29bccc4d909d 100755 (executable)
@@ -13697,11 +13697,9 @@ if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
 fi
 
 WERROR_CFLAGS=""
-if test "${ERROR_ON_WARNING}" = yes ; then
-# NOTE: Disabled in the sim dir due to most sims generating warnings.
-#    WERROR_CFLAGS="-Werror"
-     true
-fi
+  if test "${ERROR_ON_WARNING}" = yes ; then
+    WERROR_CFLAGS="-Werror"
+  fi
 
 build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
 -Wpointer-sign \
index 0b37812439f07bc7a9f0f27cf6dd72cdcf32166a..b5563a8c192da27e02eceb6e5cc276544c71de44 100644 (file)
@@ -1,3 +1,7 @@
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
 2021-01-09  Mike Frysinger  <vapier@gentoo.org>
 
        * sim-main.h: Include config.h.
index 7cc3478c42de28b4117c9e79c7743df9b2009948..5246f8efbfd9d27da4693a6ec3aebbcfcb975c0c 100755 (executable)
@@ -13684,11 +13684,9 @@ if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
 fi
 
 WERROR_CFLAGS=""
-if test "${ERROR_ON_WARNING}" = yes ; then
-# NOTE: Disabled in the sim dir due to most sims generating warnings.
-#    WERROR_CFLAGS="-Werror"
-     true
-fi
+  if test "${ERROR_ON_WARNING}" = yes ; then
+    WERROR_CFLAGS="-Werror"
+  fi
 
 build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
 -Wpointer-sign \
index 124a216fd066ba03f9a8feacb235b4336744a8a2..31643210140b2c6a27e8ddd2c34933b85afedbfe 100644 (file)
@@ -1,3 +1,8 @@
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_WARNINGS): Pass "no".
+       * configure: Regenerate.
+
 2021-01-08  Mike Frysinger  <vapier@gentoo.org>
 
        * configure: Regenerate.
index 692cd9004d740f376380e2971993157b1645e2a3..f0ce157bee77f4aa658e274ea8c55efab874bf70 100755 (executable)
@@ -13684,11 +13684,6 @@ if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
 fi
 
 WERROR_CFLAGS=""
-if test "${ERROR_ON_WARNING}" = yes ; then
-# NOTE: Disabled in the sim dir due to most sims generating warnings.
-#    WERROR_CFLAGS="-Werror"
-     true
-fi
 
 build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
 -Wpointer-sign \
index 5dffa14bccc47f11ddc2042e9ee0d7d4b168f6e9..1551df5a4a6d3207f63018b9af8561c0db4ec0d5 100644 (file)
@@ -6,6 +6,6 @@ SIM_AC_COMMON
 
 SIM_AC_OPTION_ENDIAN
 SIM_AC_OPTION_ALIGNMENT(STRICT_ALIGNMENT,STRICT_ALIGNMENT)
-SIM_AC_OPTION_WARNINGS
+SIM_AC_OPTION_WARNINGS(no)
 
 SIM_AC_OUTPUT
index fe9bed958fbd05f938d169a179023d0647d743f4..e1f35d9c1ca43c121b16b3e9b1a31ea4d8b7be38 100644 (file)
@@ -1,3 +1,8 @@
+2021-01-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac (SIM_AC_OPTION_WARNINGS): Pass "no".
+       * configure: Regenerate.
+
 2021-01-08  Mike Frysinger  <vapier@gentoo.org>
 
        * configure: Regenerate.
index 1067b56e0e8b15fe0191d4e374ba07a30ac7e4bc..f59902c09c8fbd9e1f9f154d17db9a863b43101f 100755 (executable)
@@ -13690,11 +13690,6 @@ if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
 fi
 
 WERROR_CFLAGS=""
-if test "${ERROR_ON_WARNING}" = yes ; then
-# NOTE: Disabled in the sim dir due to most sims generating warnings.
-#    WERROR_CFLAGS="-Werror"
-     true
-fi
 
 build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
 -Wpointer-sign \
index 73f9e536b40ed1a6bdc7bb56b8fefdeee779eb70..31bca400dc23e5c9d904df17419ba2db68bd1d77 100644 (file)
@@ -6,7 +6,7 @@ SIM_AC_COMMON
 
 SIM_AC_OPTION_ENDIAN(LITTLE)
 SIM_AC_OPTION_ALIGNMENT(,NONSTRICT_ALIGNMENT)
-SIM_AC_OPTION_WARNINGS
+SIM_AC_OPTION_WARNINGS(no)
 SIM_AC_OPTION_RESERVED_BITS
 SIM_AC_OPTION_BITSIZE(32,31)