Skip to content

Commit 0cf2ccb

Browse files
committedApr 6, 2023
Add some cppcheck macro definitions to avoid some warnings
1 parent a74c516 commit 0cf2ccb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎scripts/cppcheck.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ cppcheck --library=qt.cfg --inline-suppr \
3636
-DQ_NOWARN_DEPRECATED_PUSH= \
3737
-DQ_NOWARN_DEPRECATED_POP= \
3838
-DQ_DECLARE_OPAQUE_POINTER= \
39+
-DQGIS_PROTECT_QOBJECT_THREAD_ACCESS = \
40+
-DQ_DECLARE_SQLDRIVER_PRIVATE = \
41+
-DSIP_MONKEYPATCH_SCOPEENUM_UNNEST = \
3942
-i src/analysis/georeferencing/qgsgcptransformer.cpp \
4043
-j $(nproc) \
4144
${SCRIPT_DIR}/../src \

0 commit comments

Comments
 (0)
Please sign in to comment.