Source-Changes-HG archive

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

[src/trunk]: src Fix buld with clang, add warning option exceptions



details:   https://anonhg.NetBSD.org/src/rev/70d418b90f53
branches:  trunk
changeset: 345891:70d418b90f53
user:      ryoon <ryoon%NetBSD.org@localhost>
date:      Mon Jun 13 20:03:07 2016 +0000

description:
Fix buld with clang, add warning option exceptions

diffstat:

 external/mit/xorg/lib/libX11/Makefile.ximcp |  3 ++-
 sys/modules/ipl/Makefile                    |  4 +++-
 2 files changed, 5 insertions(+), 2 deletions(-)

diffs (30 lines):

diff -r 3a5116808a25 -r 70d418b90f53 external/mit/xorg/lib/libX11/Makefile.ximcp
--- a/external/mit/xorg/lib/libX11/Makefile.ximcp       Mon Jun 13 14:58:57 2016 +0000
+++ b/external/mit/xorg/lib/libX11/Makefile.ximcp       Mon Jun 13 20:03:07 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.ximcp,v 1.3 2016/06/02 22:41:26 mrg Exp $
+# $NetBSD: Makefile.ximcp,v 1.4 2016/06/13 20:03:07 ryoon Exp $
 
 .PATH: ${X11SRCDIR.X11}/modules/im/ximcp
 SRCS.ximcp= \
@@ -43,3 +43,4 @@
 CPPFLAGS.imRm.c=       -Wno-error
 CPPFLAGS.imTrans.c=    -Wno-error
 CPPFLAGS.imLcLkup.c=   -Wno-stack-protector
+CPPFLAGS.imInsClbk.c=  -Wno-unused-value
diff -r 3a5116808a25 -r 70d418b90f53 sys/modules/ipl/Makefile
--- a/sys/modules/ipl/Makefile  Mon Jun 13 14:58:57 2016 +0000
+++ b/sys/modules/ipl/Makefile  Mon Jun 13 20:03:07 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.1 2016/06/09 04:44:19 pgoyette Exp $
+#      $NetBSD: Makefile,v 1.2 2016/06/13 20:03:07 ryoon Exp $
 #
 
 .include "../Makefile.inc"
@@ -54,4 +54,6 @@
 SRCS+= ip_fil_compat.c
 SRCS+= radix_ipf.c
 
+CWARNFLAGS.clang+=     -Wno-self-assign
+
 .include <bsd.kmodule.mk>



Home | Main Index | Thread Index | Old Index