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

* configure.in: add -Wall always.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
kosaki 2011-11-24 22:49:51 +00:00
parent d7b7f56c8c
commit 5817762f2b
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Fri Nov 25 07:46:09 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* configure.in: add -Wall always.
Thu Nov 24 20:02:40 2011 Tanaka Akira <akr@fsij.org>
* test/openssl/test_engine.rb: use IO#reopen to restore stderr.

View file

@ -488,7 +488,7 @@ if test "$GCC:${warnflags+set}:no" = yes::no; then
])
])
done
AS_CASE([" $warnflags "],[*" -Wno-missing-field-initializers "*], [wflag=-Wextra],
AS_CASE([" $warnflags "],[*" -Wno-missing-field-initializers "*], [wflag="-Wall -Wextra"],
[wflag=-Wall])
RUBY_TRY_CFLAGS($wflag, [warnflags="$wflag${warnflags+ $warnflags}"])
# Disable warnflags while conftest. -Werror=* flags might make bad OS capability guess.