From: Sebastian Pipping Date: Wed, 23 Aug 2017 14:03:19 +0000 (+0200) Subject: qa.sh: Stay closer to c89 (still requires c99) X-Git-Tag: R_2_2_5~35^2~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ddaa78c708c054f91168c5aac97f9dd7b43cf1b5;p=libexpat qa.sh: Stay closer to c89 (still requires c99) --- 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:-}" (