diff options
| author | rillig <rillig@NetBSD.org> | 2021-12-25 13:30:42 +0000 |
|---|---|---|
| committer | rillig <rillig@NetBSD.org> | 2021-12-25 13:30:42 +0000 |
| commit | a1e858526ff602053fb48cc455e2ce2fbbc2cc91 (patch) | |
| tree | 4fd9150dd686441ca69f31b19a916ee6ace25beb /external/ibm-public | |
| parent | 524c6dec6a49d2e736ac120278ab8aa8113519b5 (diff) | |
postfix: enable lint again
Since init.c 1.229 from 2021-12-22, lint correctly parses and interprets
initializers with omitted braces, which are allowed by the C standards
but not recommended.
The warnings about empty declarations at file scope are suppressed
precisely.
Lint2 handles the generated .ln files fine in my local builds, I suspect
some truncated files as the cause for the unspecific "is broken" from
the comment.
Diffstat (limited to 'external/ibm-public')
| -rw-r--r-- | external/ibm-public/postfix/Makefile.inc | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/external/ibm-public/postfix/Makefile.inc b/external/ibm-public/postfix/Makefile.inc index 1d615d6273a..f62beff5716 100644 --- a/external/ibm-public/postfix/Makefile.inc +++ b/external/ibm-public/postfix/Makefile.inc @@ -1,15 +1,12 @@ -# $NetBSD: Makefile.inc,v 1.30 2021/12/14 16:27:20 christos Exp $ - -# For now, don't lint: -# 1. postfix uses 'struct { const char *name; int value } foo[] = -# { "n1", v1, "n2, v2", 0 };' and this is broken (should be fixed in lint) -# 2. uses macros with extra ; (macros should be fixed) -# 3. lint2 is broken (should be fixed in lint2) -# 4. use use MKLINT:=no since this might have been included too late. -MKLINT:=no +# $NetBSD: Makefile.inc,v 1.31 2021/12/25 13:30:42 rillig Exp $ .include <bsd.own.mk> +# dist/src/util/attr.h(90) +# dist/src/util/vstream.h(181) +# dist/src/util/vstring.h(63) +LINTFLAGS+= -X 0 # empty declaration + USE_FORT?= yes # network client and server CWARNFLAGS.clang+= -Wno-empty-body -Wno-format-extra-args \ -Wno-string-plus-int -Wno-string-compare |
