From b66524426ae5d1e2a25266587e941b7482cf0aa4 Mon Sep 17 00:00:00 2001 From: Joel Rosdahl Date: Sat, 20 Oct 2018 14:20:26 +0200 Subject: Include error/warning ID in cppcheck output --- dev.mk.in | 1 + 1 file changed, 1 insertion(+) diff --git a/dev.mk.in b/dev.mk.in index 0a311fe5..fcf53a96 100644 --- a/dev.mk.in +++ b/dev.mk.in @@ -191,6 +191,7 @@ check-syntax: cppcheck: $(CPPCHECK) --suppressions-list=$(CPPCHECK_SUPPRESSIONS) \ --inline-suppr -q --enable=all --force -I . \ + --template='cppcheck: warning: {id}:{file}:{line}: {message}' \ $(non_3pp_sources) src/main.c $(test_sources) .PHONY: shellcheck -- cgit v1.2.1