From 825e191296d67cbc066ea05f13c29769536c2da1 Mon Sep 17 00:00:00 2001 From: naruse Date: Sat, 5 Nov 2016 15:05:30 +0000 Subject: [PATCH] * configure.in (-Wimplicit-fallthrough): gcc7 introduces case fall through warnings but it is too noisy. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=7652 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 6 ++++++ configure.in | 1 + 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index bcd5d9c1f1..b58b96ce6c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Sun Nov 6 00:03:09 2016 NARUSE, Yui + + * configure.in (-Wimplicit-fallthrough): gcc7 introduces case + fall through warnings but it is too noisy. + https://gcc.gnu.org/bugzilla/show_bug.cgi?id=7652 + Sat Nov 5 23:58:32 2016 Shugo Maeda * numeric.c (rb_int_round): cast to SIGNED_VALUE to suppress diff --git a/configure.in b/configure.in index 6793d7d2e0..1fdbc28afd 100644 --- a/configure.in +++ b/configure.in @@ -846,6 +846,7 @@ if test "$GCC:${warnflags+set}:no" = yes::no; then -Wno-packed-bitfield-compat \ -Wsuggest-attribute=noreturn \ -Wsuggest-attribute=format \ + -Wimplicit-fallthrough=0 \ $extra_warning \ ; do if test "$particular_werror_flags" != yes; then