Commit 4f7843d2 authored by Michal 'vorner' Vaner's avatar Michal 'vorner' Vaner

cppcheck doesn't know the gnu standards

As they are not really standards. So fall back to the c/c++ ones, as the
gnu only adds some library calls, not syntax features.
parent fbc4d510
......@@ -255,4 +255,4 @@ FORCE:
cppcheck-%: FORCE
$(M) CCPC $@
$(Q)cppcheck --enable=style --enable=warning --std=$(STANDARD) --suppress=allocaCalled --suppress=obsoleteFunctionsalloca --template='{file}:{line},{severity},{id},{message}' --inline-suppr --error-exitcode=1 -q $(filter-out FORCE,$^)
$(Q)cppcheck --enable=style --enable=warning --std=$(subst gnu,c,$(STANDARD)) --suppress=allocaCalled --suppress=obsoleteFunctionsalloca --template='{file}:{line},{severity},{id},{message}' --inline-suppr --error-exitcode=1 -q $(filter-out FORCE,$^)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment