diff --git a/sim/configure b/sim/configure index af37e1d84d9..faa26e42ca9 100755 --- a/sim/configure +++ b/sim/configure @@ -15845,7 +15845,7 @@ build_warnings="$build_warnings -Wold-style-declaration -Wold-style-definition -Wpointer-sign --WWreturn-mismatch +-Wreturn-mismatch -Wstrict-prototypes -Wno-enum-conversion " diff --git a/sim/m4/sim_ac_option_warnings.m4 b/sim/m4/sim_ac_option_warnings.m4 index bdb99c49652..555bdb0a26a 100644 --- a/sim/m4/sim_ac_option_warnings.m4 +++ b/sim/m4/sim_ac_option_warnings.m4 @@ -68,7 +68,7 @@ build_warnings="$build_warnings -Wold-style-declaration -Wold-style-definition -Wpointer-sign --WWreturn-mismatch +-Wreturn-mismatch -Wstrict-prototypes dnl The cgen virtual insn logic involves enum conversions. dnl Disable until we can figure out how to make this work.