On Tue, 1 Dec 2026 18:22:44 +0000 Bruce Richardson <[email protected]> wrote:
> + */
> +#define RTE_DEFINE_FLEX_BYTES(type, name, size) \
> + static_assert((size) >= sizeof(type), "buffer smaller than "
> RTE_STR(type)); \
> + union { \
> + uint8_t raw[size]; /* first member, so "{0}" zeroes the whole
> buffer */ \
> + type obj; \
> + } name ## _u = {0}; \
> + type * const name = &name ## _u.obj
> +
Agree with Martin no VLA.

