From 55cdcc159bee0d5a750ee43deba246a711a04ed1 Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Wed, 12 Oct 2022 17:29:54 +0200 Subject: util.h: Add missing gcc pragma push before pragma pop While building with clang: ./util.h:176:24: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] Signed-off-by: Stefano Brivio Reviewed-by: David Gibson --- util.h | 1 + 1 file changed, 1 insertion(+) diff --git a/util.h b/util.h index b1eadfd..4d1b375 100644 --- a/util.h +++ b/util.h @@ -165,6 +165,7 @@ struct ctx; struct ipv6hdr { +#pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wpedantic" #if __BYTE_ORDER == __BIG_ENDIAN uint8_t version:4, -- cgit v1.2.3