diff --git a/.travis.yml b/.travis.yml index 7ccdaa558e329e258c4c6512285e9f6a1330578d..63375c1b577b1b3729d369303d38c68462cfc7f4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,7 +25,7 @@ matrix: - os: linux dist: trusty sudo: required - env: CPPCHECK=yes CPPCHECK_VERSION=1.78 + env: CPPCHECK=yes CPPCHECK_VERSION=1.79 # then check with different optimization flags - os: linux dist: trusty diff --git a/src/maketools/codecheck b/src/maketools/codecheck index 7f6a67e8a7a647c0d4e06557c41685964a83b832..2f0b103048c37f94c849b9d370c76db9b49b6639 100755 --- a/src/maketools/codecheck +++ b/src/maketools/codecheck @@ -34,7 +34,7 @@ if [ $do_cppcheck == true ] ; then else files="$(echo */*.{h,cpp})" fi - cppcheck --std=c++03 --std=posix 4 -j 4 --platform=unix64 \ + cppcheck --std=c++03 --std=posix 4 -j 4 --platform=unix64 --language=c++ -U__PRETTY_FUNCTION__ \ --template='[{file}:{line}] ({severity}) :{id}: {message}' --enable=all --inline-suppr --force \ $files fi