Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add some cppcheck macro definitions to avoid some warnings
  • Loading branch information
nyalldawson authored and github-actions[bot] committed Apr 6, 2023
1 parent 42e15de commit 67a8a35
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/cppcheck.sh
Expand Up @@ -36,6 +36,9 @@ cppcheck --library=qt.cfg --inline-suppr \
-DQ_NOWARN_DEPRECATED_PUSH= \
-DQ_NOWARN_DEPRECATED_POP= \
-DQ_DECLARE_OPAQUE_POINTER= \
-DQGIS_PROTECT_QOBJECT_THREAD_ACCESS = \
-DQ_DECLARE_SQLDRIVER_PRIVATE = \
-DSIP_MONKEYPATCH_SCOPEENUM_UNNEST = \
-i src/analysis/georeferencing/qgsgcptransformer.cpp \
-j $(nproc) \
${SCRIPT_DIR}/../src \
Expand Down

0 comments on commit 67a8a35

Please sign in to comment.