Module Name:    src
Committed By:   rillig
Date:           Thu Feb 20 21:20:02 UTC 2025

Modified Files:
        src/external/mit/xorg/bin/xedit/lisp: Makefile

Log Message:
xedit: suppress a few lint warnings


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/external/mit/xorg/bin/xedit/lisp/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/bin/xedit/lisp/Makefile
diff -u src/external/mit/xorg/bin/xedit/lisp/Makefile:1.7 src/external/mit/xorg/bin/xedit/lisp/Makefile:1.8
--- src/external/mit/xorg/bin/xedit/lisp/Makefile:1.7	Mon Nov 11 22:45:26 2019
+++ src/external/mit/xorg/bin/xedit/lisp/Makefile	Thu Feb 20 21:20:02 2025
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.7 2019/11/11 22:45:26 joerg Exp $
+#	$NetBSD: Makefile,v 1.8 2025/02/20 21:20:02 rillig Exp $
 
 LIBISPRIVATE=	yes
 
@@ -28,5 +28,16 @@ CWARNFLAGS.clang+=	-Wno-error=implicit-i
 COPTS.format.c+=	-Wno-error
 COPTS.lisp.c+=		-Wno-error
 
+LINTFLAGS+=	-X 34		# bit-field with underlying enum
+LINTFLAGS+=	-X 117		# signed '>>'
+LINTFLAGS+=	-X 132		# loss of accuracy
+LINTFLAGS+=	-X 220		# fallthrough in 'case' statement
+LINTFLAGS+=	-X 231		# unused parameter
+LINTFLAGS+=	-X 275		# cast discards 'const'
+LINTFLAGS+=	-X 298		# loss of accuracy in function call
+LINTFLAGS+=	-X 341		# wrong <ctype.h> usage
+LINTFLAGS+=	-X 344		# plain 'int' in bit-field
+LINTFLAGS+=	-X 351		# missing header declaration
+
 .include <bsd.x11.mk>
 .include <bsd.lib.mk>

Reply via email to