From ddaa78c708c054f91168c5aac97f9dd7b43cf1b5 Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Wed, 23 Aug 2017 16:03:19 +0200 Subject: [PATCH] qa.sh: Stay closer to c89 (still requires c99) --- expat/qa.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/expat/qa.sh b/expat/qa.sh index 682c6ed8..ae276468 100755 --- a/expat/qa.sh +++ b/expat/qa.sh @@ -15,7 +15,7 @@ set -o nounset : ${LD:=ld} : ${MAKE:=make} -: ${BASE_COMPILE_FLAGS:="-pipe -Wall -Wextra -pedantic -Wno-overlength-strings"} +: ${BASE_COMPILE_FLAGS:="-pipe -Wall -Wextra -pedantic -Wno-overlength-strings -Wno-long-long"} ANNOUNCE() { local open='\e[1m' @@ -76,7 +76,7 @@ main() { ;; esac - local CFLAGS="-std=c99 ${BASE_COMPILE_FLAGS} ${CFLAGS:-}" + local CFLAGS="-std=c89 ${BASE_COMPILE_FLAGS} ${CFLAGS:-}" local CXXFLAGS="-std=c++98 ${BASE_COMPILE_FLAGS} ${CXXFLAGS:-}" ( -- 2.40.0