Module Name:    src
Committed By:   rillig
Date:           Tue Dec  7 19:12:54 UTC 2021

Modified Files:
        src/external/lgpl3/gmp/lib/libgmp: Makefile

Log Message:
libgmp: suppress lint warnings about int/size_t mismatch

The cases where numbers have 4 GB of precision are probably rare.


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/external/lgpl3/gmp/lib/libgmp/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/gmp/lib/libgmp/Makefile
diff -u src/external/lgpl3/gmp/lib/libgmp/Makefile:1.32 src/external/lgpl3/gmp/lib/libgmp/Makefile:1.33
--- src/external/lgpl3/gmp/lib/libgmp/Makefile:1.32	Tue Dec  7 19:04:27 2021
+++ src/external/lgpl3/gmp/lib/libgmp/Makefile	Tue Dec  7 19:12:54 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.32 2021/12/07 19:04:27 rillig Exp $
+#	$NetBSD: Makefile,v 1.33 2021/12/07 19:12:54 rillig Exp $
 
 .include <bsd.init.mk>
 
@@ -270,3 +270,7 @@ M4FLAGS+=-DPIC
 LINTFLAGS+=	-X 161
 # gmp-impl.h(5187): warning: bitwise '>>' on signed value possibly nonportable [117]
 LINTFLAGS+=	-X 117
+# com.c(67): warning: conversion from 'long' to 'int' may lose accuracy [132]
+LINTFLAGS+=	-X 132
+# gcd.c(101): warning: argument #4 is converted from 'unsigned long' to 'unsigned int' due to prototype [259]
+LINTFLAGS+=	-X 259

Reply via email to