Source-Changes-HG archive

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

[src/trunk]: src/lib/libedit Disable -Wcast-qual for clang for now.



details:   https://anonhg.NetBSD.org/src/rev/8fa136d954bd
branches:  trunk
changeset: 806048:8fa136d954bd
user:      joerg <joerg%NetBSD.org@localhost>
date:      Thu Jan 29 20:30:02 2015 +0000

description:
Disable -Wcast-qual for clang for now.

diffstat:

 lib/libedit/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 4377635ebb49 -r 8fa136d954bd lib/libedit/Makefile
--- a/lib/libedit/Makefile      Thu Jan 29 20:05:56 2015 +0000
+++ b/lib/libedit/Makefile      Thu Jan 29 20:30:02 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.52 2014/06/14 20:49:37 mrg Exp $
+#      $NetBSD: Makefile,v 1.53 2015/01/29 20:30:02 joerg Exp $
 #      @(#)Makefile    8.1 (Berkeley) 6/4/93
 
 USE_SHLIBDIR=  yes
@@ -13,6 +13,7 @@
 
 COPTS+=        -Wunused-parameter
 CWARNFLAGS.gcc+=       -Wconversion
+CWARNFLAGS.clang+=     -Wno-cast-qual
 
 OSRCS= chared.c common.c el.c emacs.c fcns.c filecomplete.c help.c \
        hist.c keymacro.c map.c chartype.c \



Home | Main Index | Thread Index | Old Index