From 1bf3ddfdad73411af75af8726210020d659aded9 Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Tue, 19 Sep 2023 22:36:25 +0200 Subject: [PATCH] CI: Request C++11 rather than C++98 --- expat/coverage.sh | 2 +- expat/qa.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/expat/coverage.sh b/expat/coverage.sh index 617f48d9..9b64d126 100755 --- a/expat/coverage.sh +++ b/expat/coverage.sh @@ -159,7 +159,7 @@ _run() { ${with_unsigned_char} && BASE_FLAGS="${BASE_FLAGS} -funsigned-char" local CFLAGS="-std=c99 ${BASE_FLAGS}" - local CXXFLAGS="-std=c++98 ${BASE_FLAGS}" + local CXXFLAGS="-std=c++11 ${BASE_FLAGS}" ( set -e diff --git a/expat/qa.sh b/expat/qa.sh index 525deb3c..de4d8cfc 100755 --- a/expat/qa.sh +++ b/expat/qa.sh @@ -114,7 +114,7 @@ populate_environment() { CFLAGS="-std=c99 ${BASE_COMPILE_FLAGS} ${CFLAGS:-}" - CXXFLAGS="-std=c++98 ${BASE_COMPILE_FLAGS} ${CXXFLAGS:-}" + CXXFLAGS="-std=c++11 ${BASE_COMPILE_FLAGS} ${CXXFLAGS:-}" LDFLAGS="${BASE_LINK_FLAGS} ${LDFLAGS:-}" }