aboutsummaryrefslogtreecommitdiff
path: root/sim/m4
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2023-12-21 20:59:04 -0500
committerMike Frysinger <vapier@gentoo.org>2023-12-21 20:59:16 -0500
commit3744b73e3bf74a6013661cdb76c8c5ae326cb403 (patch)
treeca933aad764d21efe57db5dff616dbd57c57811f /sim/m4
parentfa113bd940e202d34e473ccc37b45d7bafa2efdd (diff)
downloadgdb-3744b73e3bf74a6013661cdb76c8c5ae326cb403.zip
gdb-3744b73e3bf74a6013661cdb76c8c5ae326cb403.tar.gz
gdb-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.m41
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.