From 0da9a49c6679abe0d23f9867cde5ed142b5d7355 Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Sat, 2 Dec 2017 15:56:48 -0800 Subject: [PATCH] slirp: Avoid warnings when compiling with both new and older versions of clang --- slirp_glue/qemu/compiler.h | 1 + 1 file changed, 1 insertion(+) diff --git a/slirp_glue/qemu/compiler.h b/slirp_glue/qemu/compiler.h index 9e12f26f..514151f3 100644 --- a/slirp_glue/qemu/compiler.h +++ b/slirp_glue/qemu/compiler.h @@ -56,6 +56,7 @@ #endif #if defined (__clang__) + #pragma clang diagnostic ignored "-Wunknown-pragmas" #pragma clang diagnostic ignored "-Waddress-of-packed-member" #endif