summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-02-13 01:34:35 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-02-13 01:34:35 +0000
commit9f2e85a33c47493b2c58a98ab890ae1ee86b453a (patch)
tree5cc94205ddaf90f5146996b76a60f5ade2417a7b /configure.in
parent7266d24aa0e1289fe45de79d87bda0051bb75b85 (diff)
configure.in: Werror-implicit-function-declaration
* configure.in (warnflags): -Werror-implicit-function-declaration haven't been used as-is, but always replaced with -Werror= or -W. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in6
1 files changed, 2 insertions, 4 deletions
diff --git a/configure.in b/configure.in
index 732dd5dc2a..31bc79a385 100644
--- a/configure.in
+++ b/configure.in
@@ -625,11 +625,9 @@ if test "$GCC:${warnflags+set}:no" = yes::no; then
-Werror=write-strings \
-Werror=declaration-after-statement \
-Werror=shorten-64-to-32 \
- -Werror-implicit-function-declaration \
+ -Werror=implicit-function-declaration \
; do
- if test "$particular_werror_flags" = yes; then
- wflag=`echo x$wflag | sed 's/^x-Werror-/-Werror=/;s/^x//'`
- else
+ if test "$particular_werror_flags" != yes; then
wflag=`echo x$wflag | sed 's/^x-Werror=/-W/;s/^x//'`
fi
ok=no