Add compiler warnings and fix them

This commit is contained in:
Stuart Reilly
2019-07-12 16:01:22 +01:00
parent 563215a05e
commit 8b1c68aed3
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@"