Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/ldpd ldpd: Discard warning about accessing packed m...



details:   https://anonhg.NetBSD.org/src/rev/2e0332ba84c6
branches:  trunk
changeset: 959163:2e0332ba84c6
user:      roy <roy%NetBSD.org@localhost>
date:      Wed Feb 03 06:46:27 2021 +0000

description:
ldpd: Discard warning about accessing packed member

I don't see a good way of fixing this right now.

diffstat:

 usr.sbin/ldpd/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (16 lines):

diff -r 9b016b075652 -r 2e0332ba84c6 usr.sbin/ldpd/Makefile
--- a/usr.sbin/ldpd/Makefile    Wed Feb 03 06:42:50 2021 +0000
+++ b/usr.sbin/ldpd/Makefile    Wed Feb 03 06:46:27 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2013/10/18 10:49:19 kefren Exp $
+# $NetBSD: Makefile,v 1.6 2021/02/03 06:46:27 roy Exp $
 
 .include <bsd.own.mk>
 
@@ -26,4 +26,6 @@
 CPPFLAGS+=-DINET6
 .endif
 
+CWARNFLAGS.gcc+=        ${GCC_NO_ADDR_OF_PACKED_MEMBER}
+
 .include <bsd.prog.mk>



Home | Main Index | Thread Index | Old Index