libedit: raise the warning level to 3.
NetBSD has the warning level to 5 but that actually triggers -Wcast-qual.
This commit is contained in:
parent
587e285e97
commit
98fa04efed
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=323598
@ -7,6 +7,8 @@ LIB= edit
|
|||||||
SHLIB_MAJOR= 7
|
SHLIB_MAJOR= 7
|
||||||
SHLIBDIR?= /lib
|
SHLIBDIR?= /lib
|
||||||
|
|
||||||
|
WARNS?= 3
|
||||||
|
|
||||||
OSRCS= chared.c common.c el.c eln.c emacs.c fcns.c filecomplete.c help.c \
|
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 \
|
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
|
parse.c prompt.c read.c refresh.c search.c sig.c terminal.c tty.c vi.c
|
||||||
@ -41,8 +43,6 @@ CFLAGS+= -I. -I${.CURDIR} -I${.CURDIR}/edit -DWIDECHAR
|
|||||||
#CFLAGS+= -DDEBUG_TTY -DDEBUG_KEY -DDEBUG_READ -DDEBUG -DDEBUG_REFRESH
|
#CFLAGS+= -DDEBUG_TTY -DDEBUG_KEY -DDEBUG_READ -DDEBUG -DDEBUG_REFRESH
|
||||||
#CFLAGS+= -DDEBUG_PASTE -DDEBUG_EDIT
|
#CFLAGS+= -DDEBUG_PASTE -DDEBUG_EDIT
|
||||||
|
|
||||||
WARNS?= 1
|
|
||||||
|
|
||||||
SUBDIR= edit/readline
|
SUBDIR= edit/readline
|
||||||
|
|
||||||
AHDR= vi.h emacs.h common.h
|
AHDR= vi.h emacs.h common.h
|
||||||
|
Loading…
Reference in New Issue
Block a user