Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/jemalloc/lib jemalloc: suppress two irrelevant ...



details:   https://anonhg.NetBSD.org/src/rev/88d4433f771a
branches:  trunk
changeset: 985259:88d4433f771a
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sun Aug 15 12:41:40 2021 +0000

description:
jemalloc: suppress two irrelevant lint warnings

diffstat:

 external/bsd/jemalloc/lib/Makefile.inc |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 4d83973ca316 -r 88d4433f771a external/bsd/jemalloc/lib/Makefile.inc
--- a/external/bsd/jemalloc/lib/Makefile.inc    Sun Aug 15 12:39:39 2021 +0000
+++ b/external/bsd/jemalloc/lib/Makefile.inc    Sun Aug 15 12:41:40 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.14 2021/07/06 12:40:24 thorpej Exp $
+#      $NetBSD: Makefile.inc,v 1.15 2021/08/15 12:41:40 rillig Exp $
 
 JEMALLOC:=${.PARSEDIR}/..
 
@@ -44,6 +44,8 @@
 CPPFLAGS.${i}+=-I${JEMALLOC}/include -DJEMALLOC_PROTECT_NOSTD
 COPTS.${i}+= -fvisibility=hidden -funroll-loops
 COPTS.${i}+= ${${ACTIVE_CC} == "clang":? -Wno-atomic-alignment :}
+LINTFLAGS.${i}+=       -X 231  # argument unused
+LINTFLAGS.${i}+=       -X 220  # fallthrough on case statement
 .endfor
 
 COPTS.background_thread.c+=-Wno-error=stack-protector



Home | Main Index | Thread Index | Old Index