Skip to content

Commit

Permalink
Add some macro definitions to keep cppcheck happy
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Apr 15, 2023
1 parent 58128ce commit 991573b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/cppcheck.sh
Expand Up @@ -31,6 +31,7 @@ cppcheck --library=qt.cfg --inline-suppr \
-DSIP_INOUT= \
-DSIP_OUT= \
-DSIP_FACTORY= \
-DSIP_PYNAME= \
-DSIP_THROW= \
-DCMAKE_SOURCE_DIR="/foo/bar" \
-DQ_NOWARN_DEPRECATED_PUSH= \
Expand All @@ -39,6 +40,7 @@ cppcheck --library=qt.cfg --inline-suppr \
-DQGIS_PROTECT_QOBJECT_THREAD_ACCESS = \
-DQ_DECLARE_SQLDRIVER_PRIVATE = \
-DSIP_MONKEYPATCH_SCOPEENUM_UNNEST = \
-DBUILTIN_UNREACHABLE="__builtin_unreachable();" \
-i src/analysis/georeferencing/qgsgcptransformer.cpp \
-j $(nproc) \
${SCRIPT_DIR}/../src \
Expand Down

0 comments on commit 991573b

Please sign in to comment.