diff options
author | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-08-07 13:43:37 +0000 |
---|---|---|
committer | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-08-07 13:43:37 +0000 |
commit | b6c6ce116e9bd09e20ac8fb3991439e0a1e45940 (patch) | |
tree | d034ed303e6df5041c23e5753ff99af44b3a4795 /configure.in | |
parent | 937ff7bdeb84361431651fbbe9158152efc2f6c1 (diff) | |
download | ruby-b6c6ce116e9bd09e20ac8fb3991439e0a1e45940.tar.gz |
* configure.in: add -Wunused-variable to default CFLAGS.
Patch by Eric Wong. [Feature #5157] [ruby-core:38798]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 7176fda353..8140a15c0a 100644 --- a/configure.in +++ b/configure.in @@ -458,6 +458,7 @@ if test "$GCC:${warnflags+set}:no" = yes::no; then particular_werror_flags=yes for wflag in -Wno-unused-parameter -Wno-parentheses -Wno-long-long \ -Wno-missing-field-initializers \ + -Wunused-variable \ -Werror=pointer-arith \ -Werror=write-strings \ -Werror=declaration-after-statement \ |