From: Michael Wallner Date: Wed, 21 Sep 2016 12:49:32 +0000 (+0200) Subject: cppcheck --std was added in 1.56 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=3082fa402615915b384a6150957b66d37ab6d092;p=m6w6%2Ftravis-pecl cppcheck --std was added in 1.56 --- diff --git a/Makefile b/Makefile index 927a5cd..479b3ec 100644 --- a/Makefile +++ b/Makefile @@ -44,7 +44,7 @@ PECL_DIR := $(if $(filter ext ext%, $(MAKECMDGOALS)), $(curdir), $(srcdir)/pecl- PHP_RELEASES = $(srcdir)/releases.tsv PHP_VERSION ?= $(shell test -e $(PHP_RELEASES) && cat $(PHP_RELEASES) | awk -F "\t" '/^$(PHP)\t/{print $$2}') -CPPCHECK ?= -v -j $(JOBS) --std=c89 --enable=warning,portability,style --error-exitcode=42 --suppressions-list=$(makdir)/cppcheck.suppressions -I. +CPPCHECK ?= -v -j $(JOBS) --enable=warning,portability,style --error-exitcode=42 --suppressions-list=$(makdir)/cppcheck.suppressions -I. .SUFFIXES: