Source-Changes-HG archive

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

[src-draft/trunk]: src/usr.sbin/ldpd Non-fatal packed address warnings for cl...



details:   https://anonhg.NetBSD.org/src-all/rev/7765873bc8a3
branches:  trunk
changeset: 952769:7765873bc8a3
user:      Joerg Sonnenberger <joerg%bec.de@localhost>
date:      Sun Feb 07 01:43:57 2021 +0100

description:
Non-fatal packed address warnings for clang, too

diffstat:

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

diffs (11 lines):

diff -r 341871496f18 -r 7765873bc8a3 usr.sbin/ldpd/Makefile
--- a/usr.sbin/ldpd/Makefile    Thu Feb 04 16:12:29 2021 +0100
+++ b/usr.sbin/ldpd/Makefile    Sun Feb 07 01:43:57 2021 +0100
@@ -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