From a9d47d4de27665850617877851dd5a5c679ebbe2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Mon, 15 Jul 2019 07:15:56 +0200 Subject: [PATCH] Travis: Use -std=c++0x in NONNEG compile --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 7d9b15334..fc9b45cf7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -209,7 +209,7 @@ script: - make -s test -j2 CPPFLAGS=-DTEST_MATHLIB_VALUE - touch lib/mathlib.cpp test/testmathlib.cpp # syntax checking of cppcheck source code with -DNONNEG - - g++ -fsyntax-only -Ilib -Iexternals -Iexternals/simplecpp -Iexternals/tinyxml -DNONNEG lib/*.cpp cli/*.cpp + - g++ -fsyntax-only -std=c++0x -Ilib -Iexternals -Iexternals/simplecpp -Iexternals/tinyxml -DNONNEG lib/*.cpp cli/*.cpp # compile cppcheck, default build - echo $CXXFLAGS - make -s test -j2