summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-01-18 09:44:36 +0000
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-01-18 09:44:36 +0000
commit414c09015c99df91c1c229146b8e9ac5192c834f (patch)
treeb027f93a9fff46dde7cf1a45e332f19819091d34 /configure.ac
parent449cceb8b15866cae899ce2c429ca23a4a6fa96b (diff)
downloadruby-414c09015c99df91c1c229146b8e9ac5192c834f.tar.gz
-Wmissing-noreturn
This is the -Wsuggest-attribute=noreturn equivalent option for clang. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 53ec20479a..248e72ce61 100644
--- a/configure.ac
+++ b/configure.ac
@@ -774,6 +774,7 @@ AS_IF([test "$GCC:${warnflags+set}:no" = yes::no], [
-Wno-packed-bitfield-compat \
-Wsuggest-attribute=noreturn \
-Wsuggest-attribute=format \
+ -Wmissing-noreturn \
-Wimplicit-fallthrough=0 \
-Werror=duplicated-cond \
-Werror=restrict \