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:
parent
5ec185c86b
commit
647dc4fd49
1 changed files with 1 additions and 0 deletions
|
@ -672,6 +672,7 @@ if test "$GCC:${warnflags+set}:no" = yes::no; then
|
|||
-Werror=declaration-after-statement \
|
||||
-Werror=shorten-64-to-32 \
|
||||
-Werror=implicit-function-declaration \
|
||||
-Werror=extra-tokens \
|
||||
; do
|
||||
if test "$particular_werror_flags" != yes; then
|
||||
wflag=`echo x$wflag | sed 's/^x-Werror=/-W/;s/^x//'`
|
||||
|
|
Loading…
Add table
Reference in a new issue