svn commit: r323598 - head/lib/libedit

Pedro F. Giffuni pfg at FreeBSD.org
Thu Sep 14 19:50:08 UTC 2017


Author: pfg
Date: Thu Sep 14 19:50:07 2017
New Revision: 323598
URL: https://svnweb.freebsd.org/changeset/base/323598

Log:
  libedit: raise the warning level to 3.
  
  NetBSD has the warning level to 5 but that actually triggers -Wcast-qual.

Modified:
  head/lib/libedit/Makefile

Modified: head/lib/libedit/Makefile
==============================================================================
--- head/lib/libedit/Makefile	Thu Sep 14 19:18:24 2017	(r323597)
+++ head/lib/libedit/Makefile	Thu Sep 14 19:50:07 2017	(r323598)
@@ -7,6 +7,8 @@ LIB=	edit
 SHLIB_MAJOR=	7
 SHLIBDIR?= /lib
 
+WARNS?=	3
+
 OSRCS=	chared.c common.c el.c eln.c emacs.c fcns.c filecomplete.c help.c \
 	hist.c keymacro.c map.c chartype.c \
 	parse.c prompt.c read.c refresh.c search.c sig.c terminal.c tty.c vi.c
@@ -40,8 +42,6 @@ CLEANFILES+=	tokenizern.c historyn.c
 CFLAGS+= -I. -I${.CURDIR} -I${.CURDIR}/edit -DWIDECHAR
 #CFLAGS+= -DDEBUG_TTY -DDEBUG_KEY -DDEBUG_READ -DDEBUG -DDEBUG_REFRESH
 #CFLAGS+= -DDEBUG_PASTE -DDEBUG_EDIT
-
-WARNS?=	1
 
 SUBDIR= edit/readline
 


More information about the svn-src-all mailing list