slirp: Avoid warnings when compiling with both new and older versions of clang
This commit is contained in:
parent
b080aa7a2f
commit
0da9a49c66
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue