Module Name:    src
Committed By:   rillig
Date:           Sat May 14 11:12:31 UTC 2022

Modified Files:
        src/external/lgpl3/mpc/lib/libmpc: Makefile

Log Message:
libmpc: suppress wrong lint warnings


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/lgpl3/mpc/lib/libmpc/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/lgpl3/mpc/lib/libmpc/Makefile
diff -u src/external/lgpl3/mpc/lib/libmpc/Makefile:1.5 src/external/lgpl3/mpc/lib/libmpc/Makefile:1.6
--- src/external/lgpl3/mpc/lib/libmpc/Makefile:1.5	Sat Sep 26 07:57:56 2020
+++ src/external/lgpl3/mpc/lib/libmpc/Makefile	Sat May 14 11:12:31 2022
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.5 2020/09/26 07:57:56 mrg Exp $
+#	$NetBSD: Makefile,v 1.6 2022/05/14 11:12:31 rillig Exp $
 
 .include <bsd.init.mk>
 
@@ -106,6 +106,12 @@ CPPFLAGS+=	-I${.CURDIR}
 CPPFLAGS+=	-I${NETBSDSRCDIR}/external/lgpl3/gmp/lib/libgmp/arch/${GMP_MACHINE_ARCH}
 CPPFLAGS+=	-I${NETBSDSRCDIR}/external/lgpl3/mpfr/dist/src
 
+# mostly mpfr.h, MPFR_VALUE_OF
+LINTFLAGS+=	-X 161		# constant in conditional context
+# mostly mpc.h, MPC_RND_IM;
+# mpc_rnd_t is declared as int even though only 8 bits are actually used
+LINTFLAGS+=	-X 117		# bitwise '>>' on signed value possibly nonportable
+
 .include <bsd.lib.mk>
 
 .PATH: ${.CURDIR}/../../dist/src

Reply via email to