cppcheck --std was added in 1.56
authorMichael Wallner <mike@php.net>
Wed, 21 Sep 2016 12:49:32 +0000 (14:49 +0200)
committerMichael Wallner <mike@php.net>
Wed, 21 Sep 2016 12:49:32 +0000 (14:49 +0200)
Makefile

index 927a5cdbf7ad39944a25ac2ea473d578ef5a529b..479b3ec17213a94bf86436e1e9ca169529dce8bb 100644 (file)
--- 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: