Travis: Use -std=c++0x in NONNEG compile
This commit is contained in:
parent
4854f0034d
commit
a9d47d4de2
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue