mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
7266d24aa0
commit
9f2e85a33c
1 changed files with 2 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue