Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/xlint lint: ensure that lint itself compiles without...
details: https://anonhg.NetBSD.org/src/rev/cbea3dc1f687
branches: trunk
changeset: 365138:cbea3dc1f687
user: rillig <rillig%NetBSD.org@localhost>
date: Sat Apr 09 22:26:49 2022 +0000
description:
lint: ensure that lint itself compiles without lint warnings
It would be a pity if lint didn't even survive its own style checks.
diffstat:
usr.bin/xlint/Makefile.inc | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (15 lines):
diff -r a0e9c6153224 -r cbea3dc1f687 usr.bin/xlint/Makefile.inc
--- a/usr.bin/xlint/Makefile.inc Sat Apr 09 21:19:52 2022 +0000
+++ b/usr.bin/xlint/Makefile.inc Sat Apr 09 22:26:49 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.21 2022/04/08 21:48:19 rillig Exp $
+# $NetBSD: Makefile.inc,v 1.22 2022/04/09 22:26:49 rillig Exp $
.include <bsd.own.mk>
@@ -24,3 +24,5 @@
.if exists(${.CURDIR}/../../Makefile.inc)
.include "${.CURDIR}/../../Makefile.inc"
.endif
+
+LINTFLAGS+= -w # treat warnings as errors
Home |
Main Index |
Thread Index |
Old Index