From e9979846623935c217c023b26f2057838b3a153d Mon Sep 17 00:00:00 2001 From: Daniele Forsi IU5HKX Date: Sat, 18 Mar 2023 00:35:28 +0100 Subject: [PATCH] Fix several cppcheck "missingInclude" informational messages The following STILL reamin: scripts/MSVC/2022/x64/hamlibTest/hamlibTest.h:3:0: information: Include file: "resource.h" not found. [missingInclude] scripts/MSVC/2022/x86/hamlibTest/hamlibTest.h:3:0: information: Include file: "resource.h" not found. [missingInclude] src/network.c:83:0: information: Include file: "io.h" not found. [missingInclude] tests/rigtestlibusb.c:30:0: information: Include file: "libusb.h" not found. [missingInclude] --- cppcheck.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/cppcheck.sh b/cppcheck.sh index afa63c5ff..8e74302d1 100755 --- a/cppcheck.sh +++ b/cppcheck.sh @@ -82,8 +82,9 @@ if test $# -eq 0 ; then cppcheck --inline-suppr \ -I src \ -I include \ - --include=include/hamlib/config.h \ - --include=include/hamlib/rig.h \ + -I include/hamlib/ \ + -I lib \ + -I security \ -q \ --force \ --enable=all \ @@ -96,8 +97,9 @@ else cppcheck --inline-suppr \ -I src \ -I include \ - --include=include/hamlib/config.h \ - --include=include/hamlib/rig.h \ + -I include/hamlib/ \ + -I lib \ + -I security \ -q \ --force \ --enable=all \