Travis: Use -std=c++0x in NONNEG compile

This commit is contained in:
Daniel Marjamäki 2019-07-15 07:15:56 +02:00
parent 4854f0034d
commit a9d47d4de2
1 changed files with 1 additions and 1 deletions

View File

@ -209,7 +209,7 @@ script:
- make -s test -j2 CPPFLAGS=-DTEST_MATHLIB_VALUE - make -s test -j2 CPPFLAGS=-DTEST_MATHLIB_VALUE
- touch lib/mathlib.cpp test/testmathlib.cpp - touch lib/mathlib.cpp test/testmathlib.cpp
# syntax checking of cppcheck source code with -DNONNEG # 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 # compile cppcheck, default build
- echo $CXXFLAGS - echo $CXXFLAGS
- make -s test -j2 - make -s test -j2