Commit 4396b263 authored by Martin Heistermann's avatar Martin Heistermann

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

parent d329942f
Pipeline #3539 passed with stage
in 8 minutes and 28 seconds
...@@ -8,26 +8,11 @@ clang-c++11: ...@@ -8,26 +8,11 @@ clang-c++11:
tags: tags:
- Linux - 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: macos-c++11:
script: "CI/ci-mac.sh C++11" script: "CI/ci-mac.sh C++11"
tags: tags:
- Apple - Apple
macos-c++98:
script: "CI/ci-mac.sh C++98"
tags:
- Apple
cppcheck: cppcheck:
script: "CI/ci-cppcheck.sh" script: "CI/ci-cppcheck.sh"
tags: tags:
......
Version ? (?)
- Break compatiblity with C++98, require C++11 as mininum.
Version 1.2 (2015/10/01) Version 1.2 (2015/10/01)
- Status Attribute offers a garbage collection which removes all elements previously tagged as deleted. - Status Attribute offers a garbage collection which removes all elements previously tagged as deleted.
......
...@@ -19,10 +19,7 @@ elif [ "$COMPILER" == "clang" ]; then ...@@ -19,10 +19,7 @@ elif [ "$COMPILER" == "clang" ]; then
BUILDPATH="clang" BUILDPATH="clang"
fi fi
if [ "$LANGUAGE" == "C++98" ]; then if [ "$LANGUAGE" == "C++11" ]; then
echo "Building with C++98";
BUILDPATH="$BUILDPATH-cpp98"
elif [ "$LANGUAGE" == "C++11" ]; then
echo "Building with C++11"; echo "Building with C++11";
OPTIONS="$OPTIONS -DCMAKE_CXX_FLAGS='-std=c++11' " OPTIONS="$OPTIONS -DCMAKE_CXX_FLAGS='-std=c++11' "
BUILDPATH="$BUILDPATH-cpp11" BUILDPATH="$BUILDPATH-cpp11"
......
...@@ -10,9 +10,7 @@ export PATH ...@@ -10,9 +10,7 @@ export PATH
OPTIONS="" OPTIONS=""
if [ "$LANGUAGE" == "C++98" ]; then if [ "$LANGUAGE" == "C++11" ]; then
echo "Building with C++98";
elif [ "$LANGUAGE" == "C++11" ]; then
echo "Building with C++11"; echo "Building with C++11";
OPTIONS="$OPTIONS -DCMAKE_CXX_FLAGS='-std=c++11' " OPTIONS="$OPTIONS -DCMAKE_CXX_FLAGS='-std=c++11' "
fi 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