Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/lgpl3/gmp/lib/libgmp libgmp: suppress lint warnings...



details:   https://anonhg.NetBSD.org/src/rev/6766dbf3e477
branches:  trunk
changeset: 1027141:6766dbf3e477
user:      rillig <rillig%NetBSD.org@localhost>
date:      Tue Dec 07 19:12:54 2021 +0000

description:
libgmp: suppress lint warnings about int/size_t mismatch

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

diffstat:

 external/lgpl3/gmp/lib/libgmp/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r a2ebf2290b0d -r 6766dbf3e477 external/lgpl3/gmp/lib/libgmp/Makefile
--- a/external/lgpl3/gmp/lib/libgmp/Makefile    Tue Dec 07 19:04:27 2021 +0000
+++ b/external/lgpl3/gmp/lib/libgmp/Makefile    Tue Dec 07 19:12:54 2021 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index