Add compiler warnings and fix them

This commit is contained in:
Stuart Reilly
2019-07-12 15:59:11 +01:00
parent 5ce5bae99d
commit 929cbbb7fc
8 changed files with 10 additions and 64 deletions
+4
View File
@@ -9,8 +9,12 @@ LT_INIT
AC_PROG_CC
AM_PROG_CC_C_O
AC_PROG_CXX
AC_PROG_CC_STDC
AC_LANG_WERROR
AX_PTHREAD
CFLAGS+=" -Wall -Werror"
NDPI_VERSION_SHORT="@NDPI_VERSION_SHORT@"
NDPI_MAJOR="@NDPI_MAJOR@"
NDPI_MINOR="@NDPI_MINOR@"