mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
937ff7bdeb
commit
b6c6ce116e
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Sun Aug 7 22:37:08 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||||
|
|
||||||
|
* configure.in: add -Wunused-variable to default CFLAGS.
|
||||||
|
Patch by Eric Wong. [Feature #5157] [ruby-core:38798]
|
||||||
|
|
||||||
Sun Aug 7 15:37:35 2011 NARUSE, Yui <naruse@ruby-lang.org>
|
Sun Aug 7 15:37:35 2011 NARUSE, Yui <naruse@ruby-lang.org>
|
||||||
|
|
||||||
* ext/digest/sha2/sha2ossl.c: use original SHA384_Final on DragonFly.
|
* ext/digest/sha2/sha2ossl.c: use original SHA384_Final on DragonFly.
|
||||||
|
|
|
@ -458,6 +458,7 @@ if test "$GCC:${warnflags+set}:no" = yes::no; then
|
||||||
particular_werror_flags=yes
|
particular_werror_flags=yes
|
||||||
for wflag in -Wno-unused-parameter -Wno-parentheses -Wno-long-long \
|
for wflag in -Wno-unused-parameter -Wno-parentheses -Wno-long-long \
|
||||||
-Wno-missing-field-initializers \
|
-Wno-missing-field-initializers \
|
||||||
|
-Wunused-variable \
|
||||||
-Werror=pointer-arith \
|
-Werror=pointer-arith \
|
||||||
-Werror=write-strings \
|
-Werror=write-strings \
|
||||||
-Werror=declaration-after-statement \
|
-Werror=declaration-after-statement \
|
||||||
|
|
Loading…
Reference in a new issue