From d319e87ff80d2f8f4b76dae117bb8eeaa31354c9 Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Fri, 5 Apr 2013 11:43:47 +0200 Subject: [PATCH] HACKING: refer to make cppcheck --- HACKING | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/HACKING b/HACKING index 1e39d6c..48ad35a 100644 --- a/HACKING +++ b/HACKING @@ -38,16 +38,7 @@ Here are some directions to get you started: $ make clean $ scan-build make 2.2.3 Using cppcheck (v1.58 or higher): - $ cppcheck --quiet \ - -I include -I libnfc -I libnfc/buses -I libnfc/chips -I libnfc/drivers \ - --check-config . - $ cppcheck --quiet --enable=all --std=posix --std=c99 \ - -I include -I libnfc -I libnfc/buses -I libnfc/chips -I libnfc/drivers \ - -DLOG -D__linux__ \ - -DDRIVER_PN53X_USB_ENABLED -DDRIVER_ACR122_PCSC_ENABLED \ - -DDRIVER_ACR122_USB_ENABLED -DDRIVER_ACR122S_ENABLED \ - -DDRIVER_PN532_UART_ENABLED -DDRIVER_ARYGON_ENABLED \ - --force --inconclusive . + $ make cppcheck 2.3 When Debianizing $ lintian --info --display-info --display-experimental *deb or (shorter version)