Re: [PATCH 2/2] randstruct: report bad casts as warnings rather than notes

From: Kees Cook

Date: Fri Sep 04 2026 - 20:49:02 EST


On Fri, Sep 04, 2026 at 11:14:19AM -0700, Bill Wendling wrote:
> Why not make this an error instead of a warning?

I guess I was thinking of moving from "invisible note" to "visible
warning", but I'd agree: better to just match Clang on this. I'll send a
v2.

--
Kees Cook