From: Mike Frysinger Date: Fri, 22 Dec 2023 01:58:51 +0000 (-0500) Subject: sim: warnings: fix -Wreturn-mismatch typo X-Git-Tag: binutils-2_42~434 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fa113bd940e202d34e473ccc37b45d7bafa2efdd;p=thirdparty%2Fbinutils-gdb.git sim: warnings: fix -Wreturn-mismatch typo --- 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.