diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2021-04-21 14:51:10 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-04-21 19:48:35 -0400 |
commit | 1f195bc327c5760d34fa571a758496900b48456c (patch) | |
tree | 8a000c68cc54838a3e959297dce971827735e08e | |
parent | 7e7a35fbca94c5bfe45781067c75671ba508a0c8 (diff) | |
download | gdb-1f195bc327c5760d34fa571a758496900b48456c.zip gdb-1f195bc327c5760d34fa571a758496900b48456c.tar.gz gdb-1f195bc327c5760d34fa571a758496900b48456c.tar.bz2 |
sim: use -Werror when probing for supported warning flags
When building with clang, we get:
error: unknown warning option '-Wmissing-parameter-type' [-Werror,-Wunknown-warning-option]
This is because clang only warns by default when encountering an unknown
warning option, and the probe for supported warning flags is done
without -Werror. All flags are therefore accepted by configure, but
then it breaks when actually compiling a source file with -Werror.
This is equivalent to this commit in gdb:
3e019bdc20eb81b91ab5bc774386201b874c0bac
gdb: Use -Werror when checking for (un)supported warning flags
We then see some other compilation errors when building with clang and
-Werror, they can be dealt with later.
64 files changed, 161 insertions, 32 deletions
diff --git a/sim/ChangeLog b/sim/ChangeLog index 8c6f027..7ca435f 100644 --- a/sim/ChangeLog +++ b/sim/ChangeLog @@ -1,3 +1,8 @@ +2021-04-21 Simon Marchi <simon.marchi@polymtl.ca> + + * m4/sim_ac_option_warnings.m4 (SIM_AC_OPTION_WARNINGS): Use + -Werror when probing for supported warning flags. + 2021-04-18 Mike Frysinger <vapier@gentoo.org> * m4/sim_ac_common.m4: Change AC_CHECK_HEADERS to diff --git a/sim/aarch64/ChangeLog b/sim/aarch64/ChangeLog index 5666449..14383bc 100644 --- a/sim/aarch64/ChangeLog +++ b/sim/aarch64/ChangeLog @@ -1,3 +1,7 @@ +2021-04-21 Simon Marchi <simon.marchi@polymtl.ca> + + * configure: Regenerate. + 2021-04-18 Mike Frysinger <vapier@gentoo.org> * configure: Regenerate. diff --git a/sim/aarch64/configure b/sim/aarch64/configure index d6b6477..5148aec 100755 --- a/sim/aarch64/configure +++ b/sim/aarch64/configure @@ -12076,7 +12076,7 @@ $as_echo_n "checking compiler warning flags... " >&6; } -Werr*) WERROR_CFLAGS=-Werror ;; *) # Check that GCC accepts it saved_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $w" + CFLAGS="$CFLAGS -Werror $w" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ diff --git a/sim/arm/ChangeLog b/sim/arm/ChangeLog index f476ff6..779e6c7 100644 --- a/sim/arm/ChangeLog +++ b/sim/arm/ChangeLog @@ -1,3 +1,7 @@ +2021-04-21 Simon Marchi <simon.marchi@polymtl.ca> + + * configure: Regenerate. + 2021-04-18 Mike Frysinger <vapier@gentoo.org> * configure: Regenerate. diff --git a/sim/arm/configure b/sim/arm/configure index 8715cd4..c52ce08 100755 --- a/sim/arm/configure +++ b/sim/arm/configure @@ -12072,7 +12072,7 @@ $as_echo_n "checking compiler warning flags... " >&6; } -Werr*) WERROR_CFLAGS=-Werror ;; *) # Check that GCC accepts it saved_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $w" + CFLAGS="$CFLAGS -Werror $w" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ diff --git a/sim/avr/ChangeLog b/sim/avr/ChangeLog index 3882b19..e4870da 100644 --- a/sim/avr/ChangeLog +++ b/sim/avr/ChangeLog @@ -1,3 +1,7 @@ +2021-04-21 Simon Marchi <simon.marchi@polymtl.ca> + + * configure: Regenerate. + 2021-04-18 Mike Frysinger <vapier@gentoo.org> * configure: Regenerate. diff --git a/sim/avr/configure b/sim/avr/configure index 461f80a..7484bd8 100755 --- a/sim/avr/configure +++ b/sim/avr/configure @@ -12072,7 +12072,7 @@ $as_echo_n "checking compiler warning flags... " >&6; } -Werr*) WERROR_CFLAGS=-Werror ;; *) # Check that GCC accepts it saved_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $w" + CFLAGS="$CFLAGS -Werror $w" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ diff --git a/sim/bfin/ChangeLog b/sim/bfin/ChangeLog index a2653d4..c423620 100644 --- a/sim/bfin/ChangeLog +++ b/sim/bfin/ChangeLog @@ -1,3 +1,7 @@ +2021-04-21 Simon Marchi <simon.marchi@polymtl.ca> + + * configure: Regenerate. + 2021-04-18 Mike Frysinger <vapier@gentoo.org> * configure.ac: Change AC_CHECK_HEADERS to AC_CHECK_HEADERS_ONCE. diff --git a/sim/bfin/configure b/sim/bfin/configure index 35ddcc9..6ed43af 100755 --- a/sim/bfin/configure +++ b/sim/bfin/configure @@ -12124,7 +12124,7 @@ $as_echo_n "checking compiler warning flags... " >&6; } -Werr*) WERROR_CFLAGS=-Werror ;; *) # Check that GCC accepts it saved_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $w" + CFLAGS="$CFLAGS -Werror $w" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ diff --git a/sim/bpf/ChangeLog b/sim/bpf/ChangeLog index 99ef896..cbe7ab9 100644 --- a/sim/bpf/ChangeLog +++ b/sim/bpf/ChangeLog @@ -1,3 +1,7 @@ +2021-04-21 Simon Marchi <simon.marchi@polymtl.ca> + + * configure: Regenerate. + 2021-04-18 Mike Frysinger <vapier@gentoo.org> * configure: Regenerate. diff --git a/sim/bpf/configure b/sim/bpf/configure index c6c447c..5c0244b 100755 --- a/sim/bpf/configure +++ b/sim/bpf/configure @@ -12176,7 +12176,7 @@ $as_echo_n "checking compiler warning flags... " >&6; } -Werr*) WERROR_CFLAGS=-Werror ;; *) # Check that GCC accepts it saved_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $w" + CFLAGS="$CFLAGS -Werror $w" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ diff --git a/sim/cr16/ChangeLog b/sim/cr16/ChangeLog index 869bf54..9550483 100644 --- a/sim/cr16/ChangeLog +++ b/sim/cr16/ChangeLog @@ -1,3 +1,7 @@ +2021-04-21 Simon Marchi <simon.marchi@polymtl.ca> + + * configure: Regenerate. + 2021-04-18 Mike Frysinger <vapier@gentoo.org> * configure: Regenerate. diff --git a/sim/cr16/configure b/sim/cr16/configure index 8c28099..2355502 100755 --- a/sim/cr16/configure +++ b/sim/cr16/configure @@ -12073,7 +12073,7 @@ $as_echo_n "checking compiler warning flags... " >&6; } -Werr*) WERROR_CFLAGS=-Werror ;; *) # Check that GCC accepts it saved_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $w" + CFLAGS="$CFLAGS -Werror $w" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ diff --git a/sim/cris/ChangeLog b/sim/cris/ChangeLog index fefb74c..845fee3 100644 --- a/sim/cris/ChangeLog +++ b/sim/cris/ChangeLog @@ -1,3 +1,7 @@ +2021-04-21 Simon Marchi <simon.marchi@polymtl.ca> + + * configure: Regenerate. + 2021-04-18 Mike Frysinger <vapier@gentoo.org> * configure.ac: Change AC_CHECK_HEADERS to AC_CHECK_HEADERS_ONCE. diff --git a/sim/cris/configure b/sim/cris/configure index a1f6947..0454255 100755 --- a/sim/cris/configure +++ b/sim/cris/configure @@ -12114,7 +12114,7 @@ $as_echo_n "checking compiler warning flags... " >&6; } -Werr*) WERROR_CFLAGS=-Werror ;; *) # Check that GCC accepts it saved_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $w" + CFLAGS="$CFLAGS -Werror $w" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ diff --git a/sim/d10v/ChangeLog b/sim/d10v/ChangeLog index 77b40ef..c5188a4 100644 --- a/sim/d10v/ChangeLog +++ b/sim/d10v/ChangeLog @@ -1,3 +1,7 @@ +2021-04-21 Simon Marchi <simon.marchi@polymtl.ca> + + * configure: Regenerate. + 2021-04-18 Mike Frysinger <vapier@gentoo.org> * configure: Regenerate. diff --git a/sim/d10v/configure b/sim/d10v/configure index cb57e7f..4ff527a 100755 --- a/sim/d10v/configure +++ b/sim/d10v/configure @@ -12073,7 +12073,7 @@ $as_echo_n "checking compiler warning flags... " >&6; } -Werr*) WERROR_CFLAGS=-Werror ;; *) # Check that GCC accepts it saved_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $w" + CFLAGS="$CFLAGS -Werror $w" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ diff --git a/sim/erc32/ChangeLog b/sim/erc32/ChangeLog index 74537aa..cfd9c6f 100644 --- a/sim/erc32/ChangeLog +++ b/sim/erc32/ChangeLog @@ -1,3 +1,7 @@ +2021-04-21 Simon Marchi <simon.marchi@polymtl.ca> + + * configure: Regenerate. + 2021-04-18 Mike Frysinger <vapier@gentoo.org> * configure: Regenerate. diff --git a/sim/erc32/configure b/sim/erc32/configure index b31ddda..e67b399 100755 --- a/sim/erc32/configure +++ b/sim/erc32/configure @@ -11973,7 +11973,7 @@ $as_echo_n "checking compiler warning flags... " >&6; } -Werr*) WERROR_CFLAGS=-Werror ;; *) # Check that GCC accepts it saved_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $w" + CFLAGS="$CFLAGS -Werror $w" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ diff --git a/sim/example-synacor/ChangeLog b/sim/example-synacor/ChangeLog index e0f5182..49b1c8f 100644 --- a/sim/example-synacor/ChangeLog +++ b/sim/example-synacor/ChangeLog @@ -1,3 +1,7 @@ +2021-04-21 Simon Marchi <simon.marchi@polymtl.ca> + + * configure: Regenerate. + 2021-04-18 Mike Frysinger <vapier@gentoo.org> * configure: Regenerate. diff --git a/sim/example-synacor/configure b/sim/example-synacor/configure index 1ee8fb7..6b321e8 100755 --- a/sim/example-synacor/configure +++ b/sim/example-synacor/configure @@ -12073,7 +12073,7 @@ $as_echo_n "checking compiler warning flags... " >&6; } -Werr*) WERROR_CFLAGS=-Werror ;; *) # Check that GCC accepts it saved_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $w" + CFLAGS="$CFLAGS -Werror $w" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ diff --git a/sim/frv/ChangeLog b/sim/frv/ChangeLog index 651bb90..4db8dda 100644 --- a/sim/frv/ChangeLog +++ b/sim/frv/ChangeLog @@ -1,3 +1,7 @@ +2021-04-21 Simon Marchi <simon.marchi@polymtl.ca> + + * configure: Regenerate. + 2021-04-18 Mike Frysinger <vapier@gentoo.org> * configure: Regenerate. diff --git a/sim/frv/configure b/sim/frv/configure index 2714257..771d4de 100755 --- a/sim/frv/configure +++ b/sim/frv/configure @@ -12121,7 +12121,7 @@ $as_echo_n "checking compiler warning flags... " >&6; } -Werr*) WERROR_CFLAGS=-Werror ;; *) # Check that GCC accepts it saved_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $w" + CFLAGS="$CFLAGS -Werror $w" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ diff --git a/sim/ft32/ChangeLog b/sim/ft32/ChangeLog index 94cf3dd..e54033e 100644 --- a/sim/ft32/ChangeLog +++ b/sim/ft32/ChangeLog @@ -1,3 +1,7 @@ +2021-04-21 Simon Marchi <simon.marchi@polymtl.ca> + + * configure: Regenerate. + 2021-04-18 Mike Frysinger <vapier@gentoo.org> * configure: Regenerate. diff --git a/sim/ft32/configure b/sim/ft32/configure index 106c409..800ffc2 100755 --- a/sim/ft32/configure +++ b/sim/ft32/configure @@ -12072,7 +12072,7 @@ $as_echo_n "checking compiler warning flags... " >&6; } -Werr*) WERROR_CFLAGS=-Werror ;; *) # Check that GCC accepts it saved_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $w" + CFLAGS="$CFLAGS -Werror $w" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ diff --git a/sim/h8300/ChangeLog b/sim/h8300/ChangeLog index de7bec7..4edf68e 100644 --- a/sim/h8300/ChangeLog +++ b/sim/h8300/ChangeLog @@ -1,3 +1,7 @@ +2021-04-21 Simon Marchi <simon.marchi@polymtl.ca> + + * configure: Regenerate. + 2021-04-18 Mike Frysinger <vapier@gentoo.org> * configure.ac: Change AC_CHECK_HEADERS to AC_CHECK_HEADERS_ONCE. diff --git a/sim/h8300/configure b/sim/h8300/configure index c3fc783..a5afa64 100755 --- a/sim/h8300/configure +++ b/sim/h8300/configure @@ -12070,7 +12070,7 @@ $as_echo_n "checking compiler warning flags... " >&6; } -Werr*) WERROR_CFLAGS=-Werror ;; *) # Check that GCC accepts it saved_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $w" + CFLAGS="$CFLAGS -Werror $w" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ diff --git a/sim/iq2000/ChangeLog b/sim/iq2000/ChangeLog index ee387d8..820fefe 100644 --- a/sim/iq2000/ChangeLog +++ b/sim/iq2000/ChangeLog @@ -1,3 +1,7 @@ +2021-04-21 Simon Marchi <simon.marchi@polymtl.ca> + + * configure: Regenerate. + 2021-04-18 Mike Frysinger <vapier@gentoo.org> * configure: Regenerate. diff --git a/sim/iq2000/configure b/sim/iq2000/configure index 5a3021a..0606552 100755 --- a/sim/iq2000/configure +++ b/sim/iq2000/configure @@ -12118,7 +12118,7 @@ $as_echo_n "checking compiler warning flags... " >&6; } -Werr*) WERROR_CFLAGS=-Werror ;; *) # Check that GCC accepts it saved_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $w" + CFLAGS="$CFLAGS -Werror $w" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ diff --git a/sim/lm32/ChangeLog b/sim/lm32/ChangeLog index 5c7b77c..45f3027 100644 --- a/sim/lm32/ChangeLog +++ b/sim/lm32/ChangeLog @@ -1,3 +1,7 @@ +2021-04-21 Simon Marchi <simon.marchi@polymtl.ca> + + * configure: Regenerate. + 2021-04-18 Mike Frysinger <vapier@gentoo.org> * configure: Regenerate. diff --git a/sim/lm32/configure b/sim/lm32/configure index 737d828..6976af1 100755 --- a/sim/lm32/configure +++ b/sim/lm32/configure @@ -12118,7 +12118,7 @@ $as_echo_n "checking compiler warning flags... " >&6; } -Werr*) WERROR_CFLAGS=-Werror ;; *) # Check that GCC accepts it saved_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $w" + CFLAGS="$CFLAGS -Werror $w" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ diff --git a/sim/m32c/ChangeLog b/sim/m32c/ChangeLog index ec483de..8b6432b 100644 --- a/sim/m32c/ChangeLog +++ b/sim/m32c/ChangeLog @@ -1,3 +1,7 @@ +2021-04-21 Simon Marchi <simon.marchi@polymtl.ca> + + * configure: Regenerate. + 2021-04-18 Mike Frysinger <vapier@gentoo.org> * configure.ac: Change AC_CHECK_HEADERS to AC_CHECK_HEADERS_ONCE. diff --git a/sim/m32c/configure b/sim/m32c/configure index 0b06935..c271c4b 100755 --- a/sim/m32c/configure +++ b/sim/m32c/configure @@ -11976,7 +11976,7 @@ $as_echo_n "checking compiler warning flags... " >&6; } -Werr*) WERROR_CFLAGS=-Werror ;; *) # Check that GCC accepts it saved_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $w" + CFLAGS="$CFLAGS -Werror $w" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ diff --git a/sim/m32r/ChangeLog b/sim/m32r/ChangeLog index 00f0527..54d4427 100644 --- a/sim/m32r/ChangeLog +++ b/sim/m32r/ChangeLog @@ -1,3 +1,7 @@ +2021-04-21 Simon Marchi <simon.marchi@polymtl.ca> + + * configure: Regenerate. + 2021-04-18 Mike Frysinger <vapier@gentoo.org> * configure: Regenerate. diff --git a/sim/m32r/configure b/sim/m32r/configure index ec5f8f7..2cf5b41 100755 --- a/sim/m32r/configure +++ b/sim/m32r/configure @@ -12120,7 +12120,7 @@ $as_echo_n "checking compiler warning flags... " >&6; } -Werr*) WERROR_CFLAGS=-Werror ;; *) # Check that GCC accepts it saved_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $w" + CFLAGS="$CFLAGS -Werror $w" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ diff --git a/sim/m4/sim_ac_option_warnings.m4 b/sim/m4/sim_ac_option_warnings.m4 index dc98370..c831fa8 100644 --- a/sim/m4/sim_ac_option_warnings.m4 +++ b/sim/m4/sim_ac_option_warnings.m4 @@ -91,7 +91,7 @@ then -Werr*) WERROR_CFLAGS=-Werror ;; *) # Check that GCC accepts it saved_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $w" + CFLAGS="$CFLAGS -Werror $w" AC_TRY_COMPILE([],[],WARN_CFLAGS="${WARN_CFLAGS} $w",) CFLAGS="$saved_CFLAGS" esac diff --git a/sim/m68hc11/ChangeLog b/sim/m68hc11/ChangeLog index b344756..b5dab1e 100644 --- a/sim/m68hc11/ChangeLog +++ b/sim/m68hc11/ChangeLog @@ -1,3 +1,7 @@ +2021-04-21 Simon Marchi <simon.marchi@polymtl.ca> + + * configure: Regenerate. + 2021-04-18 Mike Frysinger <vapier@gentoo.org> * configure: Regenerate. diff --git a/sim/m68hc11/configure b/sim/m68hc11/configure index 1e465b3..0a274ca 100755 --- a/sim/m68hc11/configure +++ b/sim/m68hc11/configure @@ -12072,7 +12072,7 @@ $as_echo_n "checking compiler warning flags... " >&6; } -Werr*) WERROR_CFLAGS=-Werror ;; *) # Check that GCC accepts it saved_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $w" + CFLAGS="$CFLAGS -Werror $w" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ diff --git a/sim/mcore/ChangeLog b/sim/mcore/ChangeLog index d79344b..eb4c9bc 100644 --- a/sim/mcore/ChangeLog +++ b/sim/mcore/ChangeLog @@ -1,3 +1,7 @@ +2021-04-21 Simon Marchi <simon.marchi@polymtl.ca> + + * configure: Regenerate. + 2021-04-18 Mike Frysinger <vapier@gentoo.org> * configure: Regenerate. diff --git a/sim/mcore/configure b/sim/mcore/configure index 5fac5b8..a4881e9 100755 --- a/sim/mcore/configure +++ b/sim/mcore/configure @@ -12069,7 +12069,7 @@ $as_echo_n "checking compiler warning flags... " >&6; } -Werr*) WERROR_CFLAGS=-Werror ;; *) # Check that GCC accepts it saved_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $w" + CFLAGS="$CFLAGS -Werror $w" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ diff --git a/sim/microblaze/ChangeLog b/sim/microblaze/ChangeLog index cf3ddb2..5369296 100644 --- a/sim/microblaze/ChangeLog +++ b/sim/microblaze/ChangeLog @@ -1,3 +1,7 @@ +2021-04-21 Simon Marchi <simon.marchi@polymtl.ca> + + * configure: Regenerate. + 2021-04-18 Mike Frysinger <vapier@gentoo.org> * configure: Regenerate. diff --git a/sim/microblaze/configure b/sim/microblaze/configure index 8715cd4..c52ce08 100755 --- a/sim/microblaze/configure +++ b/sim/microblaze/configure @@ -12072,7 +12072,7 @@ $as_echo_n "checking compiler warning flags... " >&6; } -Werr*) WERROR_CFLAGS=-Werror ;; *) # Check that GCC accepts it saved_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $w" + CFLAGS="$CFLAGS -Werror $w" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog index b5ca7e7..90ca806 100644 --- a/sim/mips/ChangeLog +++ b/sim/mips/ChangeLog @@ -1,3 +1,7 @@ +2021-04-21 Simon Marchi <simon.marchi@polymtl.ca> + + * configure: Regenerate. + 2021-04-18 Mike Frysinger <vapier@gentoo.org> * configure: Regenerate. diff --git a/sim/mips/configure b/sim/mips/configure index e0612f7..72e1ee3 100755 --- a/sim/mips/configure +++ b/sim/mips/configure @@ -12057,7 +12057,7 @@ $as_echo_n "checking compiler warning flags... " >&6; } -Werr*) WERROR_CFLAGS=-Werror ;; *) # Check that GCC accepts it saved_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $w" + CFLAGS="$CFLAGS -Werror $w" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ diff --git a/sim/mn10300/ChangeLog b/sim/mn10300/ChangeLog index 76f110a..41a3f52 100644 --- a/sim/mn10300/ChangeLog +++ b/sim/mn10300/ChangeLog @@ -1,3 +1,7 @@ +2021-04-21 Simon Marchi <simon.marchi@polymtl.ca> + + * configure: Regenerate. + 2021-04-18 Mike Frysinger <vapier@gentoo.org> * configure: Regenerate. diff --git a/sim/mn10300/configure b/sim/mn10300/configure index ef463cb..5dc1015 100755 --- a/sim/mn10300/configure +++ b/sim/mn10300/configure @@ -12078,7 +12078,7 @@ $as_echo_n "checking compiler warning flags... " >&6; } -Werr*) WERROR_CFLAGS=-Werror ;; *) # Check that GCC accepts it saved_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $w" + CFLAGS="$CFLAGS -Werror $w" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ diff --git a/sim/moxie/ChangeLog b/sim/moxie/ChangeLog index 3d557ee..089fa51 100644 --- a/sim/moxie/ChangeLog +++ b/sim/moxie/ChangeLog @@ -1,3 +1,7 @@ +2021-04-21 Simon Marchi <simon.marchi@polymtl.ca> + + * configure: Regenerate. + 2021-04-18 Mike Frysinger <vapier@gentoo.org> * configure: Regenerate. diff --git a/sim/moxie/configure b/sim/moxie/configure index d507c4e..9ef29a6 100755 --- a/sim/moxie/configure +++ b/sim/moxie/configure @@ -12167,7 +12167,7 @@ $as_echo_n "checking compiler warning flags... " >&6; } -Werr*) WERROR_CFLAGS=-Werror ;; *) # Check that GCC accepts it saved_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $w" + CFLAGS="$CFLAGS -Werror $w" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ diff --git a/sim/msp430/ChangeLog b/sim/msp430/ChangeLog index 15632ee..1257a5d 100644 --- a/sim/msp430/ChangeLog +++ b/sim/msp430/ChangeLog @@ -1,3 +1,7 @@ +2021-04-21 Simon Marchi <simon.marchi@polymtl.ca> + + * configure: Regenerate. + 2021-04-18 Mike Frysinger <vapier@gentoo.org> * configure: Regenerate. diff --git a/sim/msp430/configure b/sim/msp430/configure index 461f80a..7484bd8 100755 --- a/sim/msp430/configure +++ b/sim/msp430/configure @@ -12072,7 +12072,7 @@ $as_echo_n "checking compiler warning flags... " >&6; } -Werr*) WERROR_CFLAGS=-Werror ;; *) # Check that GCC accepts it saved_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $w" + CFLAGS="$CFLAGS -Werror $w" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ diff --git a/sim/or1k/ChangeLog b/sim/or1k/ChangeLog index 4b31629..e3853dd 100644 --- a/sim/or1k/ChangeLog +++ b/sim/or1k/ChangeLog @@ -1,3 +1,7 @@ +2021-04-21 Simon Marchi <simon.marchi@polymtl.ca> + + * configure: Regenerate. + 2021-04-18 Mike Frysinger <vapier@gentoo.org> * configure: Regenerate. diff --git a/sim/or1k/configure b/sim/or1k/configure index 602f66c..e8d5266 100755 --- a/sim/or1k/configure +++ b/sim/or1k/configure @@ -12176,7 +12176,7 @@ $as_echo_n "checking compiler warning flags... " >&6; } -Werr*) WERROR_CFLAGS=-Werror ;; *) # Check that GCC accepts it saved_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $w" + CFLAGS="$CFLAGS -Werror $w" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ diff --git a/sim/pru/ChangeLog b/sim/pru/ChangeLog index edfa6f9..e6a7937 100644 --- a/sim/pru/ChangeLog +++ b/sim/pru/ChangeLog @@ -1,3 +1,7 @@ +2021-04-21 Simon Marchi <simon.marchi@polymtl.ca> + + * configure: Regenerate. + 2021-04-18 Mike Frysinger <vapier@gentoo.org> * configure: Regenerate. diff --git a/sim/pru/configure b/sim/pru/configure index 461f80a..7484bd8 100755 --- a/sim/pru/configure +++ b/sim/pru/configure @@ -12072,7 +12072,7 @@ $as_echo_n "checking compiler warning flags... " >&6; } -Werr*) WERROR_CFLAGS=-Werror ;; *) # Check that GCC accepts it saved_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $w" + CFLAGS="$CFLAGS -Werror $w" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ diff --git a/sim/riscv/ChangeLog b/sim/riscv/ChangeLog index 51cbf8c..3efbf7f 100644 --- a/sim/riscv/ChangeLog +++ b/sim/riscv/ChangeLog @@ -1,3 +1,7 @@ +2021-04-21 Simon Marchi <simon.marchi@polymtl.ca> + + * configure: Regenerate. + 2021-04-18 Mike Frysinger <vapier@gentoo.org> * configure: Regenerate. diff --git a/sim/riscv/configure b/sim/riscv/configure index 99199aa..58c30a7 100755 --- a/sim/riscv/configure +++ b/sim/riscv/configure @@ -12099,7 +12099,7 @@ $as_echo_n "checking compiler warning flags... " >&6; } -Werr*) WERROR_CFLAGS=-Werror ;; *) # Check that GCC accepts it saved_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $w" + CFLAGS="$CFLAGS -Werror $w" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ diff --git a/sim/rl78/ChangeLog b/sim/rl78/ChangeLog index f14e4fc..25957f9 100644 --- a/sim/rl78/ChangeLog +++ b/sim/rl78/ChangeLog @@ -1,3 +1,7 @@ +2021-04-21 Simon Marchi <simon.marchi@polymtl.ca> + + * configure: Regenerate. + 2021-04-20 Mike Frysinger <vapier@gentoo.org> * configure.ac: Delete AC_CHECK_HEADERS_ONCE. diff --git a/sim/rl78/configure b/sim/rl78/configure index 7ad7eac..7e7796b 100755 --- a/sim/rl78/configure +++ b/sim/rl78/configure @@ -11970,7 +11970,7 @@ $as_echo_n "checking compiler warning flags... " >&6; } -Werr*) WERROR_CFLAGS=-Werror ;; *) # Check that GCC accepts it saved_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $w" + CFLAGS="$CFLAGS -Werror $w" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ diff --git a/sim/rx/ChangeLog b/sim/rx/ChangeLog index ac9531d..fa7e489 100644 --- a/sim/rx/ChangeLog +++ b/sim/rx/ChangeLog @@ -1,3 +1,7 @@ +2021-04-21 Simon Marchi <simon.marchi@polymtl.ca> + + * configure: Regenerate. + 2021-04-20 Mike Frysinger <vapier@gentoo.org> * configure.ac: Delete AC_CHECK_HEADERS_ONCE. diff --git a/sim/rx/configure b/sim/rx/configure index ab2f25d..bd0a315 100755 --- a/sim/rx/configure +++ b/sim/rx/configure @@ -12016,7 +12016,7 @@ $as_echo_n "checking compiler warning flags... " >&6; } -Werr*) WERROR_CFLAGS=-Werror ;; *) # Check that GCC accepts it saved_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $w" + CFLAGS="$CFLAGS -Werror $w" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ diff --git a/sim/sh/ChangeLog b/sim/sh/ChangeLog index 0443ea1..7d08660 100644 --- a/sim/sh/ChangeLog +++ b/sim/sh/ChangeLog @@ -1,3 +1,7 @@ +2021-04-21 Simon Marchi <simon.marchi@polymtl.ca> + + * configure: Regenerate. + 2021-04-18 Mike Frysinger <vapier@gentoo.org> * configure: Regenerate. diff --git a/sim/sh/configure b/sim/sh/configure index 5fac5b8..a4881e9 100755 --- a/sim/sh/configure +++ b/sim/sh/configure @@ -12069,7 +12069,7 @@ $as_echo_n "checking compiler warning flags... " >&6; } -Werr*) WERROR_CFLAGS=-Werror ;; *) # Check that GCC accepts it saved_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $w" + CFLAGS="$CFLAGS -Werror $w" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ diff --git a/sim/v850/ChangeLog b/sim/v850/ChangeLog index 100128f..5a990b3 100644 --- a/sim/v850/ChangeLog +++ b/sim/v850/ChangeLog @@ -1,3 +1,7 @@ +2021-04-21 Simon Marchi <simon.marchi@polymtl.ca> + + * configure: Regenerate. + 2021-04-18 Mike Frysinger <vapier@gentoo.org> * configure.ac: Change AC_CHECK_HEADERS to AC_CHECK_HEADERS_ONCE. diff --git a/sim/v850/configure b/sim/v850/configure index 6dcdb34..bc8f8c4 100755 --- a/sim/v850/configure +++ b/sim/v850/configure @@ -12178,7 +12178,7 @@ $as_echo_n "checking compiler warning flags... " >&6; } -Werr*) WERROR_CFLAGS=-Werror ;; *) # Check that GCC accepts it saved_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $w" + CFLAGS="$CFLAGS -Werror $w" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ |