3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-16 17:09:24 +01:00

build: Use -Wvariadic-macros warning

This commit is contained in:
Marcel Holtmann 2019-03-28 09:13:26 +01:00
parent 7ac111cff4
commit 80db8fd86c

View File

@ -58,6 +58,7 @@ AC_DEFUN([COMPILER_FLAGS], [
CFLAGS+=" -Wdeclaration-after-statement" CFLAGS+=" -Wdeclaration-after-statement"
CFLAGS+=" -Wmissing-declarations" CFLAGS+=" -Wmissing-declarations"
CFLAGS+=" -Wredundant-decls" CFLAGS+=" -Wredundant-decls"
CFALGS+=" -Wvariadic-macros"
CFLAGS+=" -Wformat -Wformat-security" CFLAGS+=" -Wformat -Wformat-security"
if ( $CC -v 2>/dev/null | grep "gcc version" ); then if ( $CC -v 2>/dev/null | grep "gcc version" ); then
CFLAGS+=" -Wcast-align" CFLAGS+=" -Wcast-align"