Branch: refs/heads/master Author: Enrico Tröger enrico.troeger@uvena.de Committer: Enrico Tröger enrico.troeger@uvena.de Date: Tue, 01 Aug 2023 21:25:47 UTC Commit: f801b392a55bbc0f30f8ce243493d491476dbad5 https://github.com/geany/geany-plugins/commit/f801b392a55bbc0f30f8ce243493d4...
Log Message: ----------- Scope: Define GETTEXT_PACKAGE macro for recent cppcheck versions
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.
Modified Paths: -------------- scope/src/Makefile.am
Modified: scope/src/Makefile.am 2 lines changed, 2 insertions(+), 0 deletions(-) =================================================================== @@ -60,6 +60,8 @@ scope_la_CFLAGS = $(AM_CFLAGS) $(VTE_CFLAGS) \ -Wno-shadow \ -I$(top_srcdir)/utils/src
+AM_CPPCHECKFLAGS = -DGETTEXT_PACKAGE="geany-plugins" + include $(top_srcdir)/build/cppcheck.mk
if UNITTESTS
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
plugins-commits@lists.geany.org