From 63843285a0ff32c2d85d17a580de474e9a8f1341 Mon Sep 17 00:00:00 2001 From: Pavel Kirienko Date: Sun, 3 Aug 2014 14:10:58 +0400 Subject: [PATCH] libuavcan cppcheck definitions --- libuavcan/cppcheck.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/libuavcan/cppcheck.sh b/libuavcan/cppcheck.sh index 1f7265ea21..416cc506c5 100755 --- a/libuavcan/cppcheck.sh +++ b/libuavcan/cppcheck.sh @@ -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 $@