aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc/configure
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-09-08 21:49:00 -0400
committerMike Frysinger <vapier@gentoo.org>2021-09-08 23:18:43 -0400
commit0c320e1bdcb45e0d46f69a1567a06be326529c34 (patch)
tree9759f2eddf1aba88bd3e9887749d345760d87b2c /sim/ppc/configure
parentaa0380cc7ef6844158408ea5892ccede177d5be9 (diff)
downloadbinutils-0c320e1bdcb45e0d46f69a1567a06be326529c34.zip
binutils-0c320e1bdcb45e0d46f69a1567a06be326529c34.tar.gz
binutils-0c320e1bdcb45e0d46f69a1567a06be326529c34.tar.bz2
sim: ppc: enable -Wmissing-declarations & -Wmissing-prototypes
This aligns with common code which already uses this flag. We have to add another local prototype to fix the failure, and add another local decl for the SIM_DESC type. Unwinding these will require a lot more work & conversions in the process, so going with the decl for now unblocks the warning unification.
Diffstat (limited to 'sim/ppc/configure')
-rwxr-xr-xsim/ppc/configure4
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/ppc/configure b/sim/ppc/configure
index 2cb7ccd..1e42a8a 100755
--- a/sim/ppc/configure
+++ b/sim/ppc/configure
@@ -3483,8 +3483,8 @@ sim_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith
-Wno-switch -Wno-char-subscripts
-Wempty-body -Wunused-but-set-parameter
-Wno-error=maybe-uninitialized
--Wno-missing-declarations
--Wno-missing-prototypes
+-Wmissing-declarations
+-Wmissing-prototypes
-Wdeclaration-after-statement -Wmissing-parameter-type
-Wno-pointer-sign
-Wold-style-declaration -Wold-style-definition