Skip to content

Commit 193a000

Browse files
eduar-hteEduardo Arias
authored and
Eduardo Arias
committed
Updated cppcheck config
- Do not scan third-party libraries (others dir) - Use standard C++17 for checks (defaults to C++20)
1 parent e0c5823 commit 193a000

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Makefile.am

+3-1
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,11 @@ cppcheck:
6363
--enable=warning,style,performance,portability,unusedFunction,missingInclude \
6464
--inconclusive \
6565
--template="warning: {file},{line},{severity},{id},{message}" \
66-
-I headers -I . -I others -I src -I others/mbedtls/include -I src/parser \
66+
-I headers -I . -I others -I src -I others/mbedtls/include \
6767
--error-exitcode=1 \
6868
-i "src/parser/seclang-parser.cc" -i "src/parser/seclang-scanner.cc" \
69+
-i others \
70+
--std=c++17 \
6971
--force --verbose .
7072

7173

0 commit comments

Comments
 (0)