[PATCH/committed,2/2] sim: warnings: enable -Wreturn-type
Checks
Commit Message
Older versions of gcc support this warning flag. We're already clean.
---
sim/configure | 1 +
sim/m4/sim_ac_option_warnings.m4 | 1 +
2 files changed, 2 insertions(+)
@@ -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.