slirp: Avoid warnings when compiling with both new and older versions of clang

This commit is contained in:
Mark Pizzolato 2017-12-02 15:56:48 -08:00
parent b080aa7a2f
commit 0da9a49c66

View file

@ -56,6 +56,7 @@
#endif #endif
#if defined (__clang__) #if defined (__clang__)
#pragma clang diagnostic ignored "-Wunknown-pragmas"
#pragma clang diagnostic ignored "-Waddress-of-packed-member" #pragma clang diagnostic ignored "-Waddress-of-packed-member"
#endif #endif