diff options
author | Allen Winter <allen.winter@kdab.com> | 2018-11-11 17:39:46 -0500 |
---|---|---|
committer | Allen Winter <allen.winter@kdab.com> | 2018-11-11 17:39:46 -0500 |
commit | 45c131f4666b3e06f56dae26a133db4a7b75825a (patch) | |
tree | 410dfa8c42cfbf60259fe209550f15c941abcfb3 | |
parent | be562377498527aff2ba5fa1892e8f23610828c2 (diff) | |
download | libical-git-45c131f4666b3e06f56dae26a133db4a7b75825a.tar.gz |
scripts/buildtests.sh - minor
-rwxr-xr-x | scripts/buildtests.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/buildtests.sh b/scripts/buildtests.sh index fb29c794..2fb99fd5 100755 --- a/scripts/buildtests.sh +++ b/scripts/buildtests.sh @@ -89,7 +89,7 @@ CHECK_WARNINGS() { # print warnings found in the compile-stage output # $1 = file with the compile-stage output COMPILE_WARNINGS() { - whitelist='\(dynamic[[:space:]]exception[[:space:]]specifications[[:space:]]are[[:space:]]deprecated\|Value[[:space:]]descriptions\|unused[[:space:]]declarations\|g-ir-scanner:\|clang.*argument[[:space:]]unused[[:space:]]during[[:space:]]compilation\|U_PLATFORM_HAS_WINUWP_API\|DB_DBM_HSEARCH\|const[[:space:]]DBT\|db\.h\)' + whitelist='\(Value[[:space:]]descriptions\|unused[[:space:]]declarations\|g-ir-scanner:\|clang.*argument[[:space:]]unused[[:space:]]during[[:space:]]compilation\|U_PLATFORM_HAS_WINUWP_API\|DB_DBM_HSEARCH\|const[[:space:]]DBT\|db\.h\)' CHECK_WARNINGS $1 "warning:" "$whitelist" } @@ -112,7 +112,7 @@ TIDY_WARNINGS() { # print warnings found in the scan-build output # $1 = file with the scan-build output SCAN_WARNINGS() { - whitelist='\(dynamic[[:space:]]exception\|Value[[:space:]]descriptions\|unused[[:space]]declarations\)' + whitelist='\(Value[[:space:]]descriptions\|unused[[:space:]]declarations\|icalerror.*Dereference[[:space:]]of[[:space:]]null[[:space:]]pointer\)' CHECK_WARNINGS $1 "warning:" "$whitelist" } @@ -250,6 +250,7 @@ CPPCHECK() { -D bswap32="" \ -D PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP="" \ -D _unused="(void)" \ + -D _deprecated="(void)" \ -D F_OK=0 \ -D R_OK=0 \ -U YYSTYPE \ |