[master] 4fe462a47 Flexelint silencing

Nils Goroll nils.goroll at uplex.de
Tue Feb 11 13:39:05 UTC 2025


commit 4fe462a4794584c43fb26046d966be8cb7cebf13
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Tue Feb 11 14:38:10 2025 +0100

    Flexelint silencing
    
    Ref 593632401763f463e7d611cc6cc916ccf6208cc4

diff --git a/flint.lnt b/flint.lnt
index 65d641676..f8340ea20 100644
--- a/flint.lnt
+++ b/flint.lnt
@@ -282,6 +282,9 @@
 // "miniobj.h"
 
 -emacro(774, REPLACE)
+// Flexelint does not understand offsetof(typeof(*ptr))
+-emacro(10, ALLOC_FLEX_OBJ)
+-emacro(40, ALLOC_FLEX_OBJ)
 
 
 // It is ok to default after handling a few select SLT_* tags


More information about the varnish-commit mailing list