Source-Changes-HG archive

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

[src/trunk]: src/bin/ksh Make cast warnings for clang non-fatal.



details:   https://anonhg.NetBSD.org/src/rev/00345a7de3d7
branches:  trunk
changeset: 335912:00345a7de3d7
user:      joerg <joerg%NetBSD.org@localhost>
date:      Thu Jan 29 20:46:31 2015 +0000

description:
Make cast warnings for clang non-fatal.

diffstat:

 bin/ksh/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 60f68cc9f418 -r 00345a7de3d7 bin/ksh/Makefile
--- a/bin/ksh/Makefile  Thu Jan 29 20:46:10 2015 +0000
+++ b/bin/ksh/Makefile  Thu Jan 29 20:46:31 2015 +0000
@@ -1,6 +1,7 @@
-#      $NetBSD: Makefile,v 1.30 2011/10/16 17:12:11 joerg Exp $
+#      $NetBSD: Makefile,v 1.31 2015/01/29 20:46:31 joerg Exp $
 
 WARNS=3
+CWARNFLAGS.clang+=     -Wno-error=cast-qual
 
 .include <bsd.own.mk>
 



Home | Main Index | Thread Index | Old Index