Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/mit/lua/lib/liblua liblua: ignore a few lint warnings
details: https://anonhg.NetBSD.org/src/rev/79d6e680651f
branches: trunk
changeset: 365708:79d6e680651f
user: rillig <rillig%NetBSD.org@localhost>
date: Tue Apr 19 22:00:53 2022 +0000
description:
liblua: ignore a few lint warnings
diffstat:
external/mit/lua/lib/liblua/Makefile | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r 8e83a6500003 -r 79d6e680651f external/mit/lua/lib/liblua/Makefile
--- a/external/mit/lua/lib/liblua/Makefile Tue Apr 19 20:32:14 2022 +0000
+++ b/external/mit/lua/lib/liblua/Makefile Tue Apr 19 22:00:53 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2021/04/12 02:54:08 mrg Exp $
+# $NetBSD: Makefile,v 1.11 2022/04/19 22:00:53 rillig Exp $
LIB= lua
LUA_CORE= lapi.c lcode.c lctype.c ldebug.c ldo.c ldump.c lfunc.c lgc.c \
@@ -17,6 +17,10 @@
CPPFLAGS+= -DLUA_USE_POSIX -DLUA_USE_DLOPEN -DLUA_C89_NUMBERS
CWARNFLAGS.clang+= -Wno-empty-body -Wno-error=string-plus-int
COPTS.lstring.c+= ${GCC_NO_STRINGOP_OVERFLOW}
+LINTFLAGS+= -X 141 # integer overflow detected, op '<<'
+LINTFLAGS+= -X 247 # pointer cast from 'pointer to struct
+ # GCObject' to 'pointer to union GCUnion' may
+ # be troublesome
LIBDPLIBS+= m ${NETBSDSRCDIR}/lib/libm
Home |
Main Index |
Thread Index |
Old Index