From 4fe462a4794584c43fb26046d966be8cb7cebf13 Mon Sep 17 00:00:00 2001 From: Nils Goroll Date: Tue, 11 Feb 2025 14:38:10 +0100 Subject: [PATCH] Flexelint silencing Ref 593632401763f463e7d611cc6cc916ccf6208cc4 --- flint.lnt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/flint.lnt b/flint.lnt index 65d6416763..f8340ea202 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