From 1a8a700e3a6fd88bcd5b3988a1f738da463f5b1b Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 19 Feb 2014 22:29:37 -0500 Subject: sim: convert old style prototypes Most of these prototypes have been killed off, but we have a few left in the sim tree. Clean them up so we can enable the -W flag for it. --- sim/igen/ChangeLog | 4 ++++ sim/igen/configure | 11 ++++------- 2 files changed, 8 insertions(+), 7 deletions(-) (limited to 'sim/igen') diff --git a/sim/igen/ChangeLog b/sim/igen/ChangeLog index d7ceeb42e5..7c7c43620a 100644 --- a/sim/igen/ChangeLog +++ b/sim/igen/ChangeLog @@ -1,3 +1,7 @@ +2014-03-04 Mike Frysinger + + * configure: Regenerate. + 2013-11-25 Steve Ellcey * igen/Makefile.in (igen): Use BUILD_CFLAGS in link. diff --git a/sim/igen/configure b/sim/igen/configure index 06ae4cbf95..32f115415a 100755 --- a/sim/igen/configure +++ b/sim/igen/configure @@ -4794,15 +4794,12 @@ if test "${ERROR_ON_WARNING}" = yes ; then true fi -# The entries after -Wno-pointer-sign are disabled warnings which may -# be enabled in the future, which can not currently be used to build -# GDB. -# NOTE: If you change this list, remember to update -# gdb/doc/gdbint.texinfo. build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \ --Wno-pointer-sign \ +-Wpointer-sign \ -Wno-unused -Wunused-value -Wunused-function \ --Wno-switch -Wno-char-subscripts -Wmissing-prototypes" +-Wno-switch -Wno-char-subscripts -Wmissing-prototypes +-Wdeclaration-after-statement -Wempty-body -Wmissing-parameter-type \ +-Wold-style-declaration -Wold-style-definition" # Enable -Wno-format by default when using gcc on mingw since many # GCC versions complain about %I64. -- cgit v1.2.3