From: Christian Grothoff Date: Sat, 11 Apr 2020 18:33:08 +0000 (+0200) Subject: fix static assert FTBFS with older gcc X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3bcfe59f1ce533246bda271f00b3ee957cae304d;p=oweals%2Fgnunet.git fix static assert FTBFS with older gcc --- 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