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

configure.in: -Werror=extra-tokens

* configure.in (warnflags): bail out at extra tokens, instead
  continuing with lots of warnings.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2013-04-05 12:34:43 +00:00
parent 5ec185c86b
commit 647dc4fd49

View file

@ -672,6 +672,7 @@ if test "$GCC:${warnflags+set}:no" = yes::no; then
-Werror=declaration-after-statement \ -Werror=declaration-after-statement \
-Werror=shorten-64-to-32 \ -Werror=shorten-64-to-32 \
-Werror=implicit-function-declaration \ -Werror=implicit-function-declaration \
-Werror=extra-tokens \
; do ; do
if test "$particular_werror_flags" != yes; then if test "$particular_werror_flags" != yes; then
wflag=`echo x$wflag | sed 's/^x-Werror=/-W/;s/^x//'` wflag=`echo x$wflag | sed 's/^x-Werror=/-W/;s/^x//'`