mirror of
https://github.com/simh/simh.git
synced 2026-01-26 20:12:23 +00:00
slirp: Avoid compiler warnings about address of packet members
This commit is contained in:
@@ -55,4 +55,8 @@
|
|||||||
#define GCC_FMT_ATTR(n, m)
|
#define GCC_FMT_ATTR(n, m)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined (__clang__)
|
||||||
|
#pragma clang diagnostic ignored "-Waddress-of-packed-member"
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* COMPILER_H */
|
#endif /* COMPILER_H */
|
||||||
|
|||||||
Reference in New Issue
Block a user