Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/ldpd Make use of packed member addreses non-fatal f...



details:   https://anonhg.NetBSD.org/src/rev/1c4e40d42c27
branches:  trunk
changeset: 959746:1c4e40d42c27
user:      joerg <joerg%NetBSD.org@localhost>
date:      Tue Feb 23 15:05:08 2021 +0000

description:
Make use of packed member addreses non-fatal for clang, too

diffstat:

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

diffs (17 lines):

diff -r 7ca6327f4709 -r 1c4e40d42c27 usr.sbin/ldpd/Makefile
--- a/usr.sbin/ldpd/Makefile    Tue Feb 23 15:03:56 2021 +0000
+++ b/usr.sbin/ldpd/Makefile    Tue Feb 23 15:05:08 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2021/02/03 06:46:27 roy Exp $
+# $NetBSD: Makefile,v 1.7 2021/02/23 15:05:08 joerg Exp $
 
 .include <bsd.own.mk>
 
@@ -26,6 +26,7 @@
 CPPFLAGS+=-DINET6
 .endif
 
+CWARNFLAGS.clang+=     -Wno-error=address-of-packed-member
 CWARNFLAGS.gcc+=        ${GCC_NO_ADDR_OF_PACKED_MEMBER}
 
 .include <bsd.prog.mk>



Home | Main Index | Thread Index | Old Index