aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-11-05 15:05:30 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-11-05 15:05:30 +0000
commit94179d75504d554efa5d07225ed470ce1fcec2de (patch)
tree26c8828323f518e99e2f756d7a1a4ef6fcbf70b6
parent623cc8ace5e19566c9ca4cae4d2a0943d785a9db (diff)
downloadruby-94179d75504d554efa5d07225ed470ce1fcec2de.tar.gz
* 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
-rw-r--r--ChangeLog6
-rw-r--r--configure.in1
2 files changed, 7 insertions, 0 deletions
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 <naruse@ruby-lang.org>
+
+ * 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 <shugo@ruby-lang.org>
* 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