provide more includes to Cppcheck
- added (temporary) suppression of Cppcheck `shiftTooManyBits` false positives in `libxrdp/xrdp_mppc_enc.c` - added (temporary) suppression of Cppcheck `uninitMemberVar` true positives in `ulalaca/ulalaca.cpp` until fixes land downstream - fix Cppcheck `nullPointerRedundantCheck` in `sesman/chansrv/clipboard.c` - fix Cppcheck `syntaxError` in `fontutils/mkfv1.c` because it doesn't see the `freetype/fterrors.h` header / removed astyle workaround
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
#!/bin/sh
|
||||
set -eufx
|
||||
|
||||
PACKAGES="libz3-dev z3"
|
||||
# these are the packages necessary to run ./configure so config_ac.h is generated
|
||||
PACKAGES="libpam0g-dev libxfixes-dev libxrandr-dev nasm"
|
||||
|
||||
usage()
|
||||
{
|
||||
@@ -15,6 +16,8 @@ if [ $# -ne 1 ]; then
|
||||
fi
|
||||
CPPCHECK_VER="$1"
|
||||
|
||||
apt-get update
|
||||
|
||||
case "$CPPCHECK_VER" in
|
||||
1.*)
|
||||
# no dependencies
|
||||
@@ -23,7 +26,8 @@ case "$CPPCHECK_VER" in
|
||||
# Cppcheck 2.8 removed the dependency on z3
|
||||
;;
|
||||
2.*)
|
||||
apt-get update
|
||||
apt-get -yq --no-install-suggests --no-install-recommends install $PACKAGES
|
||||
PACKAGES="$PACKAGES libz3-dev z3"
|
||||
;;
|
||||
esac
|
||||
|
||||
apt-get -yq --no-install-suggests --no-install-recommends install $PACKAGES
|
||||
|
||||
Reference in New Issue
Block a user