Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/modules/pf Avoid alignment of packed member



details:   https://anonhg.NetBSD.org/src/rev/eb9cedc52a05
branches:  trunk
changeset: 941078:eb9cedc52a05
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Oct 18 14:36:43 2020 +0000

description:
Avoid alignment of packed member

diffstat:

 sys/modules/pf/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 5fbf1e2fa36c -r eb9cedc52a05 sys/modules/pf/Makefile
--- a/sys/modules/pf/Makefile   Sun Oct 18 14:36:09 2020 +0000
+++ b/sys/modules/pf/Makefile   Sun Oct 18 14:36:43 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2019/09/29 23:45:00 mrg Exp $
+# $NetBSD: Makefile,v 1.13 2020/10/18 14:36:43 christos Exp $
 
 .include "../Makefile.inc"
 
@@ -25,5 +25,8 @@
 .if defined(HAVE_GCC) && ${HAVE_GCC} >= 7 && ${ACTIVE_CC} == "gcc"
 COPTS.pf.c+=   -Wno-error=implicit-fallthrough
 .endif
+COPTS.pf.c += -Wno-error=address-of-packed-member
+COPTS.pf_norm.c += -Wno-error=address-of-packed-member
+COPTS.pf_table.c += -Wno-error=address-of-packed-member
 
 .include <bsd.kmodule.mk>



Home | Main Index | Thread Index | Old Index