diff --git a/.decent_ci-Linux.yaml b/.decent_ci-Linux.yaml index 2056efa..931e699 100644 --- a/.decent_ci-Linux.yaml +++ b/.decent_ci-Linux.yaml @@ -26,5 +26,5 @@ compilers: skip_packaging: true cmake_extra_flags: -DBUILD_SAMPLES:BOOL=ON -DBUILD_PACKAGE:BOOL=ON -DBUILD_TESTING:BOOL=ON - name: cppcheck - compiler_extra_flags: --enable=all -I include --inline-suppr -Umax --suppress="*:cmake*" + compiler_extra_flags: --enable=all -I include --inline-suppr -Umax --suppress="*:cmake*" --suppress="*:catch.hpp" --force diff --git a/unittests/compiled_tests.cpp b/unittests/compiled_tests.cpp index df23c2f..d196956 100644 --- a/unittests/compiled_tests.cpp +++ b/unittests/compiled_tests.cpp @@ -5,12 +5,13 @@ #ifdef CHAISCRIPT_MSVC #pragma warning(push) -#pragma warning(disable : 4190 4640 28251) +#pragma warning(disable : 4190 4640 28251 4702) #endif #ifdef __GNUC__ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wshadow" +#pragma GCC diagnostic ignored "-Wold-style-cast" #endif #ifdef __llvm__