Commit 4396b263 by Martin Heistermann

Break compatiblity with C++98, require C++11 as mininum.

parent d329942f
Pipeline #3539 passed with stage
in 8 minutes 28 seconds
......@@ -8,26 +8,11 @@ clang-c++11:
tags:
- Linux
gcc-c++98:
script: "CI/ci-linux.sh gcc C++98"
tags:
- Linux
clang-c++98:
script: "CI/ci-linux.sh clang C++98"
tags:
- Linux
macos-c++11:
script: "CI/ci-mac.sh C++11"
tags:
- Apple
macos-c++98:
script: "CI/ci-mac.sh C++98"
tags:
- Apple
cppcheck:
script: "CI/ci-cppcheck.sh"
tags:
......
Version ? (?)
- Break compatiblity with C++98, require C++11 as mininum.
Version 1.2 (2015/10/01)
- Status Attribute offers a garbage collection which removes all elements previously tagged as deleted.
......
......@@ -19,10 +19,7 @@ elif [ "$COMPILER" == "clang" ]; then
BUILDPATH="clang"
fi
if [ "$LANGUAGE" == "C++98" ]; then
echo "Building with C++98";
BUILDPATH="$BUILDPATH-cpp98"
elif [ "$LANGUAGE" == "C++11" ]; then
if [ "$LANGUAGE" == "C++11" ]; then
echo "Building with C++11";
OPTIONS="$OPTIONS -DCMAKE_CXX_FLAGS='-std=c++11' "
BUILDPATH="$BUILDPATH-cpp11"
......
......@@ -10,9 +10,7 @@ export PATH
OPTIONS=""
if [ "$LANGUAGE" == "C++98" ]; then
echo "Building with C++98";
elif [ "$LANGUAGE" == "C++11" ]; then
if [ "$LANGUAGE" == "C++11" ]; then
echo "Building with C++11";
OPTIONS="$OPTIONS -DCMAKE_CXX_FLAGS='-std=c++11' "
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment