gdb/ChangeLog:
* configure.ac (build_warnings): Add -Wdeclaration-after-statement.
* configure: Regenerate.
+2012-06-22 Joel Brobecker <brobecker@adacore.com>
+
+ * configure.ac (build_warnings): Add -Wdeclaration-after-statement.
+ * configure: Regenerate.
+
2012-06-20 Yao Qi <yao@codesourcery.com>
* python/py-inferior.c: Update comments of infpy_read_memory
build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
-Wformat-nonliteral -Wno-pointer-sign \
-Wno-unused -Wunused-value -Wunused-function \
--Wno-switch -Wno-char-subscripts -Wmissing-prototypes"
+-Wno-switch -Wno-char-subscripts -Wmissing-prototypes \
+-Wdeclaration-after-statement"
# Enable -Wno-format by default when using gcc on mingw since many
# GCC versions complain about %I64.
build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
-Wformat-nonliteral -Wno-pointer-sign \
-Wno-unused -Wunused-value -Wunused-function \
--Wno-switch -Wno-char-subscripts -Wmissing-prototypes"
+-Wno-switch -Wno-char-subscripts -Wmissing-prototypes \
+-Wdeclaration-after-statement"
# Enable -Wno-format by default when using gcc on mingw since many
# GCC versions complain about %I64.