1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* configure.in (warnflags): use -std=gnu99 instead of

-std=iso9899:1999. [Feature #12336]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2016-05-03 13:20:50 +00:00
parent cdef0bc833
commit 03cbafcf23
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Tue May 3 22:19:55 2016 NARUSE, Yui <naruse@ruby-lang.org>
* configure.in (warnflags): use -std=gnu99 instead of
-std=iso9899:1999. [Feature #12336]
Tue May 3 22:10:09 2016 NARUSE, Yui <naruse@ruby-lang.org>
* string.c (count_utf8_lead_bytes_with_word): Use __builtin_popcount

View file

@ -916,7 +916,7 @@ if test "$GCC" = yes; then
],
[
# 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})