diff options
author | Mike Frysinger <vapier@gentoo.org> | 2023-12-21 20:59:04 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2023-12-21 20:59:16 -0500 |
commit | 3744b73e3bf74a6013661cdb76c8c5ae326cb403 (patch) | |
tree | ca933aad764d21efe57db5dff616dbd57c57811f /sim/m4 | |
parent | fa113bd940e202d34e473ccc37b45d7bafa2efdd (diff) | |
download | binutils-3744b73e3bf74a6013661cdb76c8c5ae326cb403.zip binutils-3744b73e3bf74a6013661cdb76c8c5ae326cb403.tar.gz binutils-3744b73e3bf74a6013661cdb76c8c5ae326cb403.tar.bz2 |
sim: warnings: enable -Wreturn-type
Older versions of gcc support this warning flag. We're already clean.
Diffstat (limited to 'sim/m4')
-rw-r--r-- | sim/m4/sim_ac_option_warnings.m4 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sim/m4/sim_ac_option_warnings.m4 b/sim/m4/sim_ac_option_warnings.m4 index 555bdb0..1c2d091 100644 --- a/sim/m4/sim_ac_option_warnings.m4 +++ b/sim/m4/sim_ac_option_warnings.m4 @@ -69,6 +69,7 @@ build_warnings="$build_warnings -Wold-style-definition -Wpointer-sign -Wreturn-mismatch +-Wreturn-type -Wstrict-prototypes dnl The cgen virtual insn logic involves enum conversions. dnl Disable until we can figure out how to make this work. |