From daef7ec0feadf03270a7a052adedf9f8480776dd Mon Sep 17 00:00:00 2001 From: wmayer Date: Mon, 1 Mar 2021 17:38:36 +0100 Subject: [PATCH] travis: OCCT 7.5.1 uses [[nodiscard]] that is a C++17 feature. To avoid to get tons of warnings because of -Wpedantic the clang build should use C++17, too --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index d59f4398dd..b58abd2976 100755 --- a/.travis.yml +++ b/.travis.yml @@ -66,7 +66,7 @@ jobs: env: - CC=clang-10 - CXX=clang++-10 - - CMAKE_ARGS="-DPYTHON_EXECUTABLE=/usr/bin/python3 -DBUILD_FEM_NETGEN=ON -DBUILD_QT5=ON" + - CMAKE_ARGS="-DPYTHON_EXECUTABLE=/usr/bin/python3 -DBUILD_FEM_NETGEN=ON -DBUILD_QT5=ON -DBUILD_ENABLE_CXX_STD='C++17'" - CACHE_NAME=JOB1 - os: linux