From a1e86856ed83ec0b6ae6b0dcc84d4a50745ade62 Mon Sep 17 00:00:00 2001 From: Michael Tuexen <tuexen@fh-muenster.de> Date: Sun, 7 Jun 2020 13:02:57 +0200 Subject: [PATCH] Disable -Waddress-of-packed-member on Linux Linux uses packed structures for sctp_paddrinfo, sctp_paddrparams, sctp_prim, and sctp_setpeerprim resulting in not being able to access some fields directly. Not sure why this is done the way it is on Linux... --- gtests/net/packetdrill/Makefile.Linux | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtests/net/packetdrill/Makefile.Linux b/gtests/net/packetdrill/Makefile.Linux index 729ecc75..04b581f7 100644 --- a/gtests/net/packetdrill/Makefile.Linux +++ b/gtests/net/packetdrill/Makefile.Linux @@ -1,3 +1,3 @@ packetdrill-ext-libs := -lpthread -lrt -ldl -lsctp -static -CFLAGS = -Wall -Werror +CFLAGS = -Wall -Werror -Wno-address-of-packed-member include Makefile.common -- GitLab