Without this, cppcheck will throw errors like
```
store/scptreestore.c:1990:37: warning: syntax error [syntaxError]
  g_param_spec_boolean("sublevels", P_("Sublevels"),
```

This is probably caused by the P_() macro if GETTEXT_PACKAGE is not set.

Admittedly, this is the easy way to fix or better workaround it. But I guess 
this is OK. Otherwise, make a better PR :).

The new cppcheck error breaks the night builds on Debian Unstable 
(https://www.geany.org/download/nightly-builds/).
You can view, comment on, or merge this pull request online at:

  https://github.com/geany/geany-plugins/pull/1264

-- Commit Summary --

  * Scope: Define GETTEXT_PACKAGE macro for recent cppcheck versions

-- File Changes --

    M scope/src/Makefile.am (2)

-- Patch Links --

https://github.com/geany/geany-plugins/pull/1264.patch
https://github.com/geany/geany-plugins/pull/1264.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/1264
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany-plugins/pull/[email protected]>

Reply via email to