From 3bcfe59f1ce533246bda271f00b3ee957cae304d Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 11 Apr 2020 20:33:08 +0200 Subject: [PATCH] fix static assert FTBFS with older gcc --- src/include/gnunet_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/gnunet_common.h b/src/include/gnunet_common.h index 212c78f54..6a4e21823 100644 --- a/src/include/gnunet_common.h +++ b/src/include/gnunet_common.h @@ -901,7 +901,7 @@ GNUNET_error_type_to_string (enum GNUNET_ErrorType kind); * * @param cond condition to test, 0 implies failure */ -#define GNUNET_static_assert(cond) _Static_assert (cond) +#define GNUNET_static_assert(cond) _Static_assert (cond, "") #else /** * Assertion to be checked (if supported by C compiler) at -- 2.25.1