From 4074e744e63438b0dcc6144fdafbd7669d79a3a1 Mon Sep 17 00:00:00 2001 From: Mitya Selivanov Date: Sun, 1 Jan 2023 20:11:07 +0100 Subject: Ignore zero variadic macro arguments --- source/kit/async_function.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source') diff --git a/source/kit/async_function.h b/source/kit/async_function.h index 1791291..db2c2ed 100644 --- a/source/kit/async_function.h +++ b/source/kit/async_function.h @@ -3,6 +3,10 @@ #include +#ifdef __GNUC__ +# pragma GCC diagnostic ignored "-Wgnu-zero-variadic-macro-arguments" +#endif + #ifdef __cplusplus extern "C" { #endif -- cgit v1.2.3