aboutgitcodebugslistschat
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2022-10-12 17:29:54 +0200
committerStefano Brivio <sbrivio@redhat.com>2022-10-15 02:10:36 +0200
commit55cdcc159bee0d5a750ee43deba246a711a04ed1 (patch)
treea4aa7832dc12e0555a9682fd60402f60fde3a3a2
parentabbe01af59549445fd4995fc3e724caae23dbe27 (diff)
downloadpasst-55cdcc159bee0d5a750ee43deba246a711a04ed1.tar
passt-55cdcc159bee0d5a750ee43deba246a711a04ed1.tar.gz
passt-55cdcc159bee0d5a750ee43deba246a711a04ed1.tar.bz2
passt-55cdcc159bee0d5a750ee43deba246a711a04ed1.tar.lz
passt-55cdcc159bee0d5a750ee43deba246a711a04ed1.tar.xz
passt-55cdcc159bee0d5a750ee43deba246a711a04ed1.tar.zst
passt-55cdcc159bee0d5a750ee43deba246a711a04ed1.zip
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 <sbrivio@redhat.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
-rw-r--r--util.h1
1 files changed, 1 insertions, 0 deletions
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,