[master] 66ce409b7 Flexelint silencing for BSD

Nils Goroll nils.goroll at uplex.de
Fri Jul 4 17:58:05 UTC 2025


commit 66ce409b7633b164748728a5ee599860c36befdf
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Fri Jul 4 19:54:31 2025 +0200

    Flexelint silencing for BSD
    
    No idea when this popped up, but I suppose it must have come with an update of
    the system flexelint runs on
    
    File /usr/include/sys/queue.h, Line 425
                _
                "not head's first field address",                           \
        Warning 607: Parameter 'head' of macro found within string
    
    (and others)

diff --git a/bin/varnishd/flint.lnt b/bin/varnishd/flint.lnt
index 6e3051b88..302c532ae 100644
--- a/bin/varnishd/flint.lnt
+++ b/bin/varnishd/flint.lnt
@@ -121,6 +121,8 @@
 //////////////
 +libh netinet/tcp.h
 -elib(46)
++libh sys/queue.h
+-elib(607)
 //////////////
 
 +libh mgt_event.h


More information about the varnish-commit mailing list