sim: warnings: enable -Wreturn-type

Older versions of gcc support this warning flag.  We're already clean.
This commit is contained in:
Mike Frysinger
2023-12-21 20:59:04 -05:00
parent fa113bd940
commit 3744b73e3b
2 changed files with 2 additions and 0 deletions

1
sim/configure vendored
View File

@@ -15846,6 +15846,7 @@ build_warnings="$build_warnings
-Wold-style-definition
-Wpointer-sign
-Wreturn-mismatch
-Wreturn-type
-Wstrict-prototypes
-Wno-enum-conversion
"

View File

@@ -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.