diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-05 15:05:30 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-05 15:05:30 +0000 |
commit | 825e191296d67cbc066ea05f13c29769536c2da1 (patch) | |
tree | 26c8828323f518e99e2f756d7a1a4ef6fcbf70b6 | |
parent | e3142f8875ce82ef3da002ef9dd67bdcdcb0e218 (diff) |
* 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-- | ChangeLog | 6 | ||||
-rw-r--r-- | configure.in | 1 |
2 files changed, 7 insertions, 0 deletions
@@ -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 |