From: Ivan Maidanski Date: Mon, 10 Jul 2017 21:49:14 +0000 (+0300) Subject: Travis CI: Workaround 'real_malloc is never called' cppcheck warning X-Git-Tag: v8.0.0~646 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=64e8fe5;p=gc Travis CI: Workaround 'real_malloc is never called' cppcheck warning (fix commit 0027759) --- diff --git a/.travis.yml b/.travis.yml index 7645afb8..7deea073 100644 --- a/.travis.yml +++ b/.travis.yml @@ -261,7 +261,7 @@ matrix: - CFLAGS_EXTRA="-D ALL_INTERIOR_POINTERS -D CHECKSUMS -D DBG_HDRS_ALL -D DEBUG_THREADS -D ENABLE_TRACE -D GC_ALWAYS_MULTITHREADED -D GC_ASSERTIONS -D GC_ATOMIC_UNCOLLECTABLE -D GC_ENABLE_SUSPEND_THREAD -D GC_GCJ_SUPPORT -D GC_PRINT_BACK_HEIGHT -D GC_THREADS -D HANDLE_FORK -D JAVA_FINALIZATION -D KEEP_BACK_PTRS -D MAKE_BACK_GRAPH -D PARALLEL_MARK -D PRINT_BLACK_LIST -D THREAD_LOCAL_ALLOC -D USE_MMAP -D USE_MUNMAP" - os: linux env: - - CPPCHECK_ENABLE="-j16 --enable=information,performance,portability,style,warning extra/AmigaOS.c extra/MacOS.c extra/msvc_dbg.c extra/symbian.cpp" + - CPPCHECK_ENABLE="-j16 --enable=information,performance,portability,style,warning extra/AmigaOS.c extra/MacOS.c extra/msvc_dbg.c extra/real_malloc.c extra/symbian.cpp" sudo: required - os: linux env: @@ -503,7 +503,7 @@ script: ~/cppcheck/cppcheck -q -f --error-exitcode=2 -U GC_API -U long -D CPPCHECK -I include -I libatomic_ops/src $CPPCHECK_ENABLE *.cc cord/*.c cord/tests/*.c tests/*.c tests/*.cc tools/*.c - extra/gc.c extra/pcr_interface.c extra/real_malloc.c; + extra/gc.c extra/pcr_interface.c; fi - if [[ "$MSAN_OR_UBSAN" == true ]]; then UBSAN_OPTIONS="halt_on_error=1" make check-without-test-driver;