Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Sep 2017 19:50:07 +0000 (UTC)
From:      "Pedro F. Giffuni" <pfg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r323598 - head/lib/libedit
Message-ID:  <201709141950.v8EJo745077811@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201709141950.v8EJo745077811>