From 85e26832a019ffc00dad9f1eb7e670b85c8eca7f Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 18 Aug 2016 10:56:11 -0600 Subject: Add -Wimplicit-fallthrough This adds -Wimplicit-fallthrough to the set of default warnings. 2018-05-04 Tom Tromey * configure: Rebuild. * warning.m4 (AM_GDB_WARNINGS): Add -Wimplicit-fallthrough. gdbserver/ChangeLog 2018-05-04 Tom Tromey * configure: Rebuild. --- gdb/configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gdb/configure') diff --git a/gdb/configure b/gdb/configure index 1aac930..96dd9fa 100755 --- a/gdb/configure +++ b/gdb/configure @@ -15366,7 +15366,8 @@ build_warnings="-Wall -Wpointer-arith \ -Wno-sign-compare -Wno-narrowing -Wno-error=maybe-uninitialized \ -Wno-mismatched-tags \ -Wno-error=deprecated-register \ --Wsuggest-override" +-Wsuggest-override \ +-Wimplicit-fallthrough" case "${host}" in *-*-mingw32*) -- cgit v1.1