gnunet

Main GNUnet Logic
Log | Files | Refs | Submodules | README | LICENSE

commit 466ee1f75c837f6c6d3585cc7f91db201521cb9c
parent ff5075e7f149ffeb9934cb4a505660fc80a9c655
Author: Christian Grothoff <christian@grothoff.org>
Date:   Thu,  5 Aug 2021 19:26:58 +0200

-move pop to not break gcc

Diffstat:
Msrc/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 @@ -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 */