Module Name: src Committed By: rillig Date: Tue Apr 19 22:40:45 UTC 2022
Modified Files: src/external/public-domain/sqlite: Makefile.inc Log Message: sqlite: suppress a few lint warnings To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/external/public-domain/sqlite/Makefile.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/public-domain/sqlite/Makefile.inc diff -u src/external/public-domain/sqlite/Makefile.inc:1.11 src/external/public-domain/sqlite/Makefile.inc:1.12 --- src/external/public-domain/sqlite/Makefile.inc:1.11 Fri Feb 5 21:48:52 2021 +++ src/external/public-domain/sqlite/Makefile.inc Tue Apr 19 22:40:45 2022 @@ -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 @@ CPPFLAGS+= \ -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'