From: Vsevolod Stakhov Date: Tue, 23 Apr 2019 17:34:42 +0000 (+0100) Subject: [Minor] Fix build X-Git-Tag: 1.9.3~79 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6a3f845c260ab27c48f5e2568f49ecd01817e28c;p=rspamd.git [Minor] Fix build --- diff --git a/src/libcryptobox/cryptobox.c b/src/libcryptobox/cryptobox.c index 88b8044ca..7cd5e1b13 100644 --- a/src/libcryptobox/cryptobox.c +++ b/src/libcryptobox/cryptobox.c @@ -1492,13 +1492,6 @@ G_STATIC_ASSERT (sizeof (t1ha_context_t) <= G_STATIC_ASSERT (sizeof (XXH64_state_t) <= sizeof (((rspamd_cryptobox_fast_hash_state_t *)NULL)->opaque)); -#ifdef __GNUC__ -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wgnu" -G_STATIC_ASSERT(G_ALIGNOF (t1ha_context_t) <= - G_ALIGNOF (((rspamd_cryptobox_fast_hash_state_t *)NULL)->opaque)); -#pragma GCC diagnostic pop -#endif struct RSPAMD_ALIGNED(16) _mum_iuf { union {