Source-Changes-HG archive

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

[src/trunk]: src/external/public-domain/sqlite sqlite: suppress a few lint wa...



details:   https://anonhg.NetBSD.org/src/rev/2336a9f2fd96
branches:  trunk
changeset: 365712:2336a9f2fd96
user:      rillig <rillig%NetBSD.org@localhost>
date:      Tue Apr 19 22:40:45 2022 +0000

description:
sqlite: suppress a few lint warnings

diffstat:

 external/public-domain/sqlite/Makefile.inc |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 2887872126fe -r 2336a9f2fd96 external/public-domain/sqlite/Makefile.inc
--- a/external/public-domain/sqlite/Makefile.inc        Tue Apr 19 22:40:13 2022 +0000
+++ b/external/public-domain/sqlite/Makefile.inc        Tue Apr 19 22:40:45 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.11 2021/02/05 21:48:52 joerg Exp $
+# $NetBSD: Makefile.inc,v 1.12 2022/04/19 22:40:45 rillig Exp $
 
 WARNS=         2
 
@@ -29,3 +29,9 @@
                -DSQLITE_HAVE_ISNAN
 
 CWARNFLAGS+=   -Wno-shadow -Wno-unused
+
+LINTFLAGS+=    -X 117  # bitwise '>>' on signed value possibly nonportable
+LINTFLAGS+=    -X 161  # constant in conditional context
+LINTFLAGS+=    -X 220  # fallthrough on case statement
+LINTFLAGS+=    -X 247  # pointer cast from '%s' to '%s' may be troublesome
+LINTFLAGS+=    -X 275  # cast discards 'const' from type '%s'



Home | Main Index | Thread Index | Old Index