gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnunet] branch master updated: fix static assert FTBFS with older gcc


From: gnunet
Subject: [gnunet] branch master updated: fix static assert FTBFS with older gcc
Date: Sat, 11 Apr 2020 20:37:46 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 3bcfe59f1 fix static assert FTBFS with older gcc
3bcfe59f1 is described below

commit 3bcfe59f1ce533246bda271f00b3ee957cae304d
Author: Christian Grothoff <address@hidden>
AuthorDate: Sat Apr 11 20:33:08 2020 +0200

    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

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]