File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 6969 sudo apt-get -y install cppcheck
7070 sudo cpan Path::Class
7171 cppcheck --template=gcc --inline-suppr --std=c++17 --enable=style,unusedFunction -i externals \
72- --suppressions-list=cppcheck.supp --library=qt.cfg --library=posix.cfg . 2> >(tee error.log >&2)
72+ -DCPPCHECK --force --suppressions-list=cppcheck.supp \
73+ --library=qt.cfg --library=posix.cfg . 2> >(tee error.log >&2)
7374 perl scripts/warnings.pl error.log
7475
7576 buildLinux :
Original file line number Diff line number Diff line change 1717#include < string>
1818#include < cassert>
1919
20- #include " datarefs.inc"
20+ // Avoid checking large auto-generated header with cppcheck
21+ #ifndef CPPCHECK
22+ # include " datarefs.inc"
23+ #endif
2124
2225namespace XSwiftBus
2326{
You can’t perform that action at this time.
0 commit comments