Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/mit/xorg/lib/libxcb/libxcb libxcb: suppress lint wa...
details: https://anonhg.NetBSD.org/src/rev/cc79a5bb96ff
branches: trunk
changeset: 366090:cc79a5bb96ff
user: rillig <rillig%NetBSD.org@localhost>
date: Sat May 14 11:26:23 2022 +0000
description:
libxcb: suppress lint warnings that are not useful
diffstat:
external/mit/xorg/lib/libxcb/libxcb/Makefile | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diffs (24 lines):
diff -r 1ac4ecb36f62 -r cc79a5bb96ff external/mit/xorg/lib/libxcb/libxcb/Makefile
--- a/external/mit/xorg/lib/libxcb/libxcb/Makefile Sat May 14 11:12:31 2022 +0000
+++ b/external/mit/xorg/lib/libxcb/libxcb/Makefile Sat May 14 11:26:23 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2018/06/07 18:16:55 rjs Exp $
+# $NetBSD: Makefile,v 1.11 2022/05/14 11:26:23 rillig Exp $
.include <bsd.own.mk>
@@ -29,6 +29,14 @@
#CPPFLAGS+= -I${.CURDIR}/../files
CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/xcb
+# Mostly autogenerated code, the casts are used in pointer arithmetics as well
+# as for iovec.
+LINTFLAGS+= -X 132 # conversion from '%s' to '%s' may lose accuracy
+LINTFLAGS+= -X 135 # converting '%s' to '%s' may cause alignment problem
+LINTFLAGS+= -X 247 # pointer cast from '%s' to '%s' may be troublesome
+LINTFLAGS+= -X 275 # cast discards 'const' from type '%s'
+LINTFLAGS+= -X 298 # conversion from '%s' to '%s' may lose accuracy, arg #%d
+
LIBDPLIBS=\
Xau ${.CURDIR}/../../libXau \
Xdmcp ${.CURDIR}/../../libXdmcp
Home |
Main Index |
Thread Index |
Old Index