commit 8465dddcab878a408953f48328cb41efd6f62f30
parent b42923dc5d7f2c6d6aca5ca997c35fb86f088aa4
Author: Denis Kenzior <denkenz@gmail.com>
Date: Thu, 13 Apr 2023 22:12:03 -0500
build: Drop Werror=variadic-macros
The following commit:
80db8fd86c0c ("build: Use -Wvariadic-macros warning")
added a warning about variadic-macros. But it isn't quite clear why
since variadic macros are used throghout iwd. GCC doesn't honor this
option, but clang does. Since there's no real reason to stop using
variadic macros at this time, drop this warning.
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/acinclude.m4 b/acinclude.m4
@@ -58,7 +58,6 @@ AC_DEFUN([COMPILER_FLAGS], [
CFLAGS+=" -Wdeclaration-after-statement"
CFLAGS+=" -Wmissing-declarations"
CFLAGS+=" -Wredundant-decls"
- CFALGS+=" -Wvariadic-macros"
CFLAGS+=" -Wformat -Wformat-security"
if ( $CC -v 2>/dev/null | grep "gcc version" ); then
CFLAGS+=" -Wcast-align"