From: Pedro Alves Date: Thu, 1 Mar 2012 21:14:53 +0000 (+0000) Subject: 2012-03-01 Pedro Alves X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b03a20112fb8538e3011a8334ad43cf1a5414048;p=binutils-gdb.git 2012-03-01 Pedro Alves * configure.ac (build_warnings): Add -Wmissing-prototypes. * configure: Regenerate. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 81c5c9a346e..db913a78759 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2012-03-01 Pedro Alves + + * configure.ac (build_warnings): Add -Wmissing-prototypes. + * configure: Regenerate. + 2012-03-01 Pedro Alves * amd64-linux-tdep.c (amd64_linux_record_signal): Make static. diff --git a/gdb/configure b/gdb/configure index 49e9cd847b2..22343f58c28 100755 --- a/gdb/configure +++ b/gdb/configure @@ -15137,7 +15137,7 @@ fi build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \ -Wformat-nonliteral -Wno-pointer-sign \ -Wno-unused -Wunused-value -Wunused-function \ --Wno-switch -Wno-char-subscripts" +-Wno-switch -Wno-char-subscripts -Wmissing-prototypes" # Enable -Wno-format by default when using gcc on mingw since many # GCC versions complain about %I64. diff --git a/gdb/configure.ac b/gdb/configure.ac index fbe7d4d0ce2..e8de55c558d 100644 --- a/gdb/configure.ac +++ b/gdb/configure.ac @@ -1795,7 +1795,7 @@ fi build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \ -Wformat-nonliteral -Wno-pointer-sign \ -Wno-unused -Wunused-value -Wunused-function \ --Wno-switch -Wno-char-subscripts" +-Wno-switch -Wno-char-subscripts -Wmissing-prototypes" # Enable -Wno-format by default when using gcc on mingw since many # GCC versions complain about %I64.