ruby-changes:42821
From: naruse <ko1@a...>
Date: Tue, 3 May 2016 21:24:13 +0900 (JST)
Subject: [ruby-changes:42821] naruse:r54895 (trunk): * configure.in (warnflags): use -std=gnu99 instead of
naruse 2016-05-03 22:20:50 +0900 (Tue, 03 May 2016) New Revision: 54895 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=54895 Log: * configure.in (warnflags): use -std=gnu99 instead of -std=iso9899:1999. [Feature #12336] Modified files: trunk/ChangeLog trunk/configure.in Index: configure.in =================================================================== --- configure.in (revision 54894) +++ configure.in (revision 54895) @@ -916,7 +916,7 @@ if test "$GCC" = yes; then https://github.com/ruby/ruby/blob/trunk/configure.in#L916 ], [ # ANSI (no XCFLAGS because this is C only) - for ansi_options in -std=iso9899:1999 "-ansi -std=iso9899:199409"; do + for ansi_options in -std=gnu99; do RUBY_TRY_CFLAGS(${ansi_options}, [ RUBY_APPEND_OPTIONS(warnflags, ${ansi_options}) RUBY_APPEND_OPTIONS(strict_warnflags, ${ansi_options}) Index: ChangeLog =================================================================== --- ChangeLog (revision 54894) +++ ChangeLog (revision 54895) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Tue May 3 22:19:55 2016 NARUSE, Yui <naruse@r...> + + * configure.in (warnflags): use -std=gnu99 instead of + -std=iso9899:1999. [Feature #12336] + Tue May 3 22:10:09 2016 NARUSE, Yui <naruse@r...> * string.c (count_utf8_lead_bytes_with_word): Use __builtin_popcount -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/