[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] branch master updated: -move pop to not break gcc
From: |
gnunet |
Subject: |
[gnunet] branch master updated: -move pop to not break gcc |
Date: |
Thu, 05 Aug 2021 19:30:24 +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 466ee1f75 -move pop to not break gcc
466ee1f75 is described below
commit 466ee1f75c837f6c6d3585cc7f91db201521cb9c
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Thu Aug 5 19:26:58 2021 +0200
-move pop to not break 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 8cfeab1cc..35389e63e 100644
--- a/src/include/gnunet_common.h
+++ b/src/include/gnunet_common.h
@@ -882,7 +882,6 @@ GNUNET_error_type_to_string (enum GNUNET_ErrorType kind);
_Pragma("GCC diagnostic push") \
_Pragma("GCC diagnostic ignored \"-Wtautological-compare\"") \
if (! (cond)) \
- _Pragma("GCC diagnostic pop") \
{ \
GNUNET_log (GNUNET_ERROR_TYPE_ERROR, \
_ ("Assertion failed at %s:%d. Aborting.\n"), \
@@ -890,6 +889,7 @@ GNUNET_error_type_to_string (enum GNUNET_ErrorType kind);
__LINE__); \
GNUNET_abort_ (); \
} \
+ _Pragma("GCC diagnostic pop") \
} while (0)
#else
/* older GCC/clangs do not support -Wtautological-compare */
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnunet] branch master updated: -move pop to not break gcc,
gnunet <=