Branch: refs/heads/master Author: Colomban Wendling ban@herbesfolles.org Committer: Colomban Wendling ban@herbesfolles.org Date: Tue, 30 Apr 2024 20:39:44 UTC Commit: 95570a640e9bbd3e0802f1946e8c67ddec9d383c https://github.com/geany/geany-plugins/commit/95570a640e9bbd3e0802f1946e8c67...
Log Message: ----------- cppcheck: Properly define GETTEXT_PACKAGE globally
Scope plugin defined it to an incorrect value (the quotes were missing) and it's likely useful for all code in the repository.
Modified Paths: -------------- build/cppcheck.mk scope/src/Makefile.am
Modified: build/cppcheck.mk 1 lines changed, 1 insertions(+), 0 deletions(-) =================================================================== @@ -6,6 +6,7 @@ check-cppcheck: $(srcdir) -q --template=gcc --error-exitcode=2 \ --library=$(top_srcdir)/build/cppcheck-geany-plugins.cfg \ -I$(GEANY_INCLUDEDIR)/geany \ + -DGETTEXT_PACKAGE="$(GETTEXT_PACKAGE)" \ $(filter -j%,$(MAKEFLAGS)) \ $(AM_CPPCHECKFLAGS) $(CPPCHECKFLAGS) \ $(srcdir)
Modified: scope/src/Makefile.am 2 lines changed, 0 insertions(+), 2 deletions(-) =================================================================== @@ -60,8 +60,6 @@ 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).