diff options
author | Joel Rosdahl <joel@rosdahl.net> | 2018-10-20 14:20:26 +0200 |
---|---|---|
committer | Joel Rosdahl <joel@rosdahl.net> | 2018-10-25 21:26:11 +0200 |
commit | b66524426ae5d1e2a25266587e941b7482cf0aa4 (patch) | |
tree | e964cc95a2e4f6b4039d895b158acd16c32de9d4 | |
parent | 35d4294fac61a320cdb8aba72e4a80a14ec79cb0 (diff) | |
download | ccache-b66524426ae5d1e2a25266587e941b7482cf0aa4.tar.gz |
Include error/warning ID in cppcheck output
-rw-r--r-- | dev.mk.in | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |