Mercurial > hg > orthanc
changeset 6443:f288ceb2a131
merge
| author | Sebastien Jodogne <s.jodogne@gmail.com> |
|---|---|
| date | Tue, 18 Nov 2025 17:44:13 +0100 |
| parents | bd0fb2559a7e (current diff) f0287aed9e5c (diff) |
| children | 31197da4a994 e18fdcbeebbf |
| files | |
| diffstat | 3 files changed, 10 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/OrthancServer/Resources/RunCppCheck-2.1.sh Tue Nov 18 17:33:29 2025 +0100 +++ b/OrthancServer/Resources/RunCppCheck-2.1.sh Tue Nov 18 17:44:13 2025 +0100 @@ -28,7 +28,6 @@ syntaxError:../../OrthancServer/UnitTestsSources/UnitTestsMain.cpp:325 unreadVariable:../../OrthancFramework/Sources/FileStorage/StorageAccessor.cpp unreadVariable:../../OrthancServer/Sources/OrthancRestApi/OrthancRestModalities.cpp:1173 -unusedFunction useInitializationList:../../OrthancFramework/Sources/Images/PngReader.cpp:91 useInitializationList:../../OrthancFramework/Sources/Images/PngWriter.cpp:99 useInitializationList:../../OrthancServer/Sources/ServerJobs/DicomModalityStoreJob.cpp:275 @@ -41,8 +40,13 @@ assertWithSideEffect:../../OrthancFramework/Sources/DicomNetworking/Internals/CommandDispatcher.cpp:454 EOF +CPPCHECK_BUILD_DIR=/tmp/cppcheck-build-dir-2.1/ +mkdir -p ${CPPCHECK_BUILD_DIR} + ${CPPCHECK} -j8 --enable=all --quiet --std=c++11 \ + --cppcheck-build-dir=${CPPCHECK_BUILD_DIR} \ --suppressions-list=/tmp/cppcheck-suppressions.txt \ + --suppress=unusedFunction \ -DBOOST_HAS_DATE_TIME=1 \ -DBOOST_HAS_FILESYSTEM_V3=1 \ -DBOOST_HAS_REGEX=1 \
--- a/OrthancServer/Resources/RunCppCheck-2.17.0.sh Tue Nov 18 17:33:29 2025 +0100 +++ b/OrthancServer/Resources/RunCppCheck-2.17.0.sh Tue Nov 18 17:44:13 2025 +0100 @@ -37,7 +37,11 @@ assertWithSideEffect:../../OrthancFramework/Sources/DicomNetworking/Internals/CommandDispatcher.cpp:454 EOF +CPPCHECK_BUILD_DIR=/tmp/cppcheck-build-dir-2.7.0/ +mkdir -p ${CPPCHECK_BUILD_DIR} + ${CPPCHECK} -j8 --enable=all --std=gnu++11 --library=boost \ + --cppcheck-build-dir=${CPPCHECK_BUILD_DIR} \ --suppressions-list=/tmp/cppcheck-suppressions.txt \ -I/usr/include/ \ -I/usr/include/jsoncpp/ \
--- a/OrthancServer/Resources/RunCppCheck-2.17.1.sh Tue Nov 18 17:33:29 2025 +0100 +++ b/OrthancServer/Resources/RunCppCheck-2.17.1.sh Tue Nov 18 17:44:13 2025 +0100 @@ -53,7 +53,7 @@ variableScope:../../OrthancServer/Sources/ServerJobs/OrthancPeerStoreJob.cpp:94 EOF -CPPCHECK_BUILD_DIR=/tmp/cppcheck-build-dir/ +CPPCHECK_BUILD_DIR=/tmp/cppcheck-build-dir-2.7.1/ mkdir -p ${CPPCHECK_BUILD_DIR} ${CPPCHECK} -j8 --enable=all --quiet --std=c++11 \
