slirp: Avoid compiler warnings about address of packet members
This commit is contained in:
parent
afc5580db8
commit
b080aa7a2f
1 changed files with 4 additions and 0 deletions
|
@ -55,4 +55,8 @@
|
|||
#define GCC_FMT_ATTR(n, m)
|
||||
#endif
|
||||
|
||||
#if defined (__clang__)
|
||||
#pragma clang diagnostic ignored "-Waddress-of-packed-member"
|
||||
#endif
|
||||
|
||||
#endif /* COMPILER_H */
|
||||
|
|
Loading…
Add table
Reference in a new issue