From ec336fb40e4df0c8615e584fbefb5e9e572cb9ec Mon Sep 17 00:00:00 2001 From: k0kubun Date: Thu, 10 Jan 2019 08:04:35 +0000 Subject: [PATCH] configure.ac: Require C99 We already added AC_PROG_CC_C99 in r66605. This commit stops warning C99 features. [Misc #15347] [close https://github.com/ruby/ruby/pull/2064] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- configure.ac | 2 -- 1 file changed, 2 deletions(-) diff --git a/configure.ac b/configure.ac index dc3bdf06c0..ac05f91ddb 100644 --- a/configure.ac +++ b/configure.ac @@ -481,7 +481,6 @@ AS_CASE(["$GCC:${warnflags+set}:${extra_warnflags:+set}:"], particular_werror_flags=no ]) for wflag in \ - -Werror=declaration-after-statement \ -Werror=deprecated-declarations \ -Werror=division-by-zero \ -Werror=duplicated-cond \ @@ -489,7 +488,6 @@ AS_CASE(["$GCC:${warnflags+set}:${extra_warnflags:+set}:"], -Werror=implicit-int \ -Werror=misleading-indentation \ -Werror=pointer-arith \ - -Werror=restrict \ -Werror=shorten-64-to-32 \ -Werror=write-strings \ -Wimplicit-fallthrough=0 \