diff Applications/Resources/RunCppCheck.sh @ 1639:5cdc5b98f14d

cppcheck
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 10 Nov 2020 16:41:11 +0100
parents 8c5f9864545f
children 03afa09cfcf1
line wrap: on
line diff
--- a/Applications/Resources/RunCppCheck.sh	Tue Nov 10 16:26:47 2020 +0100
+++ b/Applications/Resources/RunCppCheck.sh	Tue Nov 10 16:41:11 2020 +0100
@@ -29,13 +29,12 @@
 
 cat <<EOF > /tmp/cppcheck-suppressions.txt
 stlFindInsert:../../Applications/Samples/WebAssembly/SingleFrameViewer/SingleFrameViewerApplication.h
-stlFindInsert:../../Applications/StoneWebViewer/WebAssembly/StoneWebViewer.cpp:685
+stlFindInsert:../../Applications/StoneWebViewer/WebAssembly/StoneWebViewer.cpp:703
 unpreciseMathCall:../../OrthancStone/Sources/Scene2D/Internals/CairoFloatTextureRenderer.cpp
 unpreciseMathCall:../../OrthancStone/Sources/Scene2D/LookupTableTextureSceneLayer.cpp
 unreadVariable:../../OrthancStone/Sources/Viewport/SdlViewport.cpp:143
 unreadVariable:../../OrthancStone/Sources/Viewport/SdlViewport.cpp:197
 unusedFunction
-useInitializationList:../../OrthancStone/Sources/OpenGL/OpenGLProgram.cpp:36
 EOF
 
 ${CPPCHECK} --enable=all --quiet --std=c++11 \
@@ -58,7 +57,7 @@
             -DORTHANC_ENABLE_OPENGL=1 \
             -DORTHANC_ENABLE_PKCS11=0 \
             -DORTHANC_ENABLE_PNG=1 \
-            -DORTHANC_ENABLE_PUGIXML=0 \
+            -DORTHANC_ENABLE_PUGIXML=1 \
             -DORTHANC_ENABLE_SDL=1 \
             -DORTHANC_ENABLE_SSL=1 \
             -DORTHANC_ENABLE_THREADS=1 \
@@ -83,5 +82,6 @@
             -i ../../Applications/StoneWebViewer/Plugin/i \
             -i ../../Applications/StoneWebViewer/WebAssembly/StoneModule/i \
             -i ../../Applications/StoneWebViewer/WebAssembly/i \
+            -i ../../Applications/StoneWebViewer/WebAssembly/debug/ \
             \
             2>&1