From eea814ed486651ad99ec534f340f107741ff716f Mon Sep 17 00:00:00 2001 From: benn Date: Thu, 24 Apr 2025 11:35:18 +0200 Subject: [PATCH] Add extra cppcheck flags --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0dda252..69e7d29 100755 --- a/Makefile +++ b/Makefile @@ -59,12 +59,14 @@ OS := $(shell uname -s) ifeq ($(OS),Linux) # installed by system and in PATH CPPCHECK := cppcheck + CHECKFLAGS := --platform=unix64 DBG_REL += endif # OpenIndiana and flavours ifeq ($(OS),SunOS) # local installation CPPCHECK := $(HOME)/devl/cppcheck/bin/cppcheck + CHECKFLAGS := --platform=unix64 DBG_REL += endif @@ -107,7 +109,7 @@ LIBS = $(NETBEANSBUILD) # Uncomment one of the following to select an output format #CHECKFLAGS = --template="{file},{line},{severity},{id},{message}" -CHECKFLAGS = --quiet --enable=all --error-exitcode=1 +CHECKFLAGS += --quiet --enable=all --error-exitcode=1 --check-level=exhaustive --enable=all #CHECKFLAGS = --enable=all --error-exitcode=1 debug release: DIRS $(APP)