diff options
author | Pablo Barciela <[email protected]> | 2019-08-22 01:42:10 +0200 |
---|---|---|
committer | Pablo Barciela <[email protected]> | 2019-08-22 01:42:10 +0200 |
commit | 26237d046e8670d4e1851ef94dbdb45f2f7e030d (patch) | |
tree | aef09b99fb0fb8dbe694773438d828aa67ffaa20 | |
parent | 00f507ee7021fbdcef017c910ecc73ec76cb3066 (diff) | |
download | atril-26237d046e8670d4e1851ef94dbdb45f2f7e030d.tar.bz2 atril-26237d046e8670d4e1851ef94dbdb45f2f7e030d.tar.xz |
Travis CI: 'cppcheck' with '-D__cplusplus'
To force the analyse of all the files
Fixes the warnings:
[backend/dvi/mdvi-lib/afmparse.c:0]: (information) This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details.
[backend/dvi/mdvi-lib/bitmap.c:0]: (information) This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details.
[backend/dvi/mdvi-lib/color.c:0]: (information) This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details.
[backend/dvi/mdvi-lib/common.c:0]: (information) This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details.
[backend/dvi/mdvi-lib/dviread.c:0]: (information) This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details.
[backend/dvi/mdvi-lib/files.c:0]: (information) This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details.
[backend/dvi/mdvi-lib/font.c:0]: (information) This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details.
[backend/dvi/mdvi-lib/fontmap.c:0]: (information) This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details.
[backend/dvi/mdvi-lib/fontsrch.c:0]: (information) This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details.
[backend/dvi/mdvi-lib/gf.c:0]: (information) This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details.
[backend/dvi/mdvi-lib/hash.c:0]: (information) This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details.
[backend/dvi/mdvi-lib/list.c:0]: (information) This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details.
[backend/dvi/mdvi-lib/pagesel.c:0]: (information) This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details.
[backend/dvi/mdvi-lib/paper.c:0]: (information) This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details.
[backend/dvi/mdvi-lib/pk.c:0]: (information) This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details.
[backend/dvi/mdvi-lib/setup.c:0]: (information) This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details.
[backend/dvi/mdvi-lib/sp-epsf.c:0]: (information) This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details.
[backend/dvi/mdvi-lib/special.c:0]: (information) This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details.
[backend/dvi/mdvi-lib/t1.c:0]: (information) This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details.
[backend/dvi/mdvi-lib/tfm.c:0]: (information) This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details.
[backend/dvi/mdvi-lib/tfmfile.c:0]: (information) This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details.
[backend/dvi/mdvi-lib/tt.c:0]: (information) This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details.
[backend/dvi/mdvi-lib/util.c:0]: (information) This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details.
[backend/dvi/mdvi-lib/vf.c:0]: (information) This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details.
-rw-r--r-- | .travis.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index 1e135961..e85f0290 100644 --- a/.travis.yml +++ b/.travis.yml @@ -208,12 +208,12 @@ build_scripts: - scan-build $CHECKERS --keep-cc -o html-report make - fi - if [ ${DISTRO_NAME} == "debian" ];then - - cppcheck --enable=warning,style,performance,portability,information,missingInclude --force . + - cppcheck --enable=warning,style,performance,portability,information,missingInclude --force -D__cplusplus . - fi after_scripts: - if [ ${DISTRO_NAME} == "fedora" ];then - - cppcheck --xml --output-file=cppcheck.xml --enable=warning,style,performance,portability,information,missingInclude --force . + - cppcheck --xml --output-file=cppcheck.xml --enable=warning,style,performance,portability,information,missingInclude --force -D__cplusplus . - cppcheck-htmlreport --title=${REPO_NAME} --file=cppcheck.xml --report-dir=cppcheck-htmlreport - ./gen-index -l 20 -i https://github.com/${OWNER_NAME}/atril/raw/master/data/icons/16x16/apps/atril.png - fi |