Add --suppress=sizeofwithnumericparameter param to cppcheck

This commit is contained in:
Ilmir Usmanov
2014-08-04 17:22:32 +04:00
parent 039efcc3ae
commit 084ed7aee4
+1 -1
View File
@@ -347,7 +347,7 @@ $(JERRY_TARGETS):
@rm -rf $(TARGET_DIR)
@echo "=== Running cppcheck ==="
@cppcheck $(DEFINES_JERRY) `find $(UNITTESTS_SRC_DIR) -name *.[c]` $(SOURCES_JERRY) $(INCLUDES_JERRY) $(INCLUDES_THIRDPARTY) \
--error-exitcode=1 --std=c99 --enable=all --suppress=missingIncludeSystem --suppress=unusedFunction 1>/dev/null
--error-exitcode=1 --std=c99 --enable=all --suppress=sizeofwithnumericparameter --suppress=missingIncludeSystem --suppress=unusedFunction 1>/dev/null
@echo Done
@echo
@mkdir -p $(TARGET_DIR)