libuavcan cppcheck definitions

This commit is contained in:
Pavel Kirienko
2014-08-03 14:10:58 +04:00
parent f40f00c0c7
commit 63843285a0
+1
View File
@@ -14,4 +14,5 @@ echo "Number of threads for cppcheck: $num_cores"
# TODO: with future versions of cppcheck, add --library=glibc
cppcheck . --error-exitcode=1 --quiet --enable=all --platform=unix64 --std=c99 --std=c++11 \
--inline-suppr --force --template=gcc -j$num_cores \
-U__BIGGEST_ALIGNMENT__ -UUAVCAN_MEM_POOL_BLOCK_SIZE -UBIG_ENDIAN -UBYTE_ORDER \
-Iinclude $@