diff options
author | Mitya Selivanov <automainint@guattari.tech> | 2023-01-01 20:11:07 +0100 |
---|---|---|
committer | Mitya Selivanov <automainint@guattari.tech> | 2023-01-01 20:11:07 +0100 |
commit | 4074e744e63438b0dcc6144fdafbd7669d79a3a1 (patch) | |
tree | 48dc3549847bc1290a133c96691deee1d986fe05 | |
parent | 86d86462b420f098ee34a022cffd922e3192dabe (diff) | |
download | kit-4074e744e63438b0dcc6144fdafbd7669d79a3a1.zip |
Ignore zero variadic macro arguments
-rw-r--r-- | source/kit/async_function.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 <string.h> +#ifdef __GNUC__ +# pragma GCC diagnostic ignored "-Wgnu-zero-variadic-macro-arguments" +#endif + #ifdef __cplusplus extern "C" { #endif |