ruby-changes:49794
From: shyouhei <ko1@a...>
Date: Thu, 18 Jan 2018 19:01:42 +0900 (JST)
Subject: [ruby-changes:49794] shyouhei:r61912 (trunk): -Wmissing-noreturn
shyouhei 2018-01-18 18:44:36 +0900 (Thu, 18 Jan 2018) New Revision: 61912 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61912 Log: -Wmissing-noreturn This is the -Wsuggest-attribute=noreturn equivalent option for clang. Modified files: trunk/configure.ac Index: configure.ac =================================================================== --- configure.ac (revision 61911) +++ configure.ac (revision 61912) @@ -774,6 +774,7 @@ AS_IF([test "$GCC:${warnflags+set}:no" = https://github.com/ruby/ruby/blob/trunk/configure.ac#L774 -Wno-packed-bitfield-compat \ -Wsuggest-attribute=noreturn \ -Wsuggest-attribute=format \ + -Wmissing-noreturn \ -Wimplicit-fallthrough=0 \ -Werror=duplicated-cond \ -Werror=restrict \ -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/