HomeFreeBSD

kern_descrip.c: only allow complex expression in Static_assert() for clang

Description

kern_descrip.c: only allow complex expression in Static_assert() for clang

gcc cannot compute the assert expression, which is formally not required
by a C standard.

Reported and reviewed by: jhb
Sponsored by: The FreeBSD Foundation

Details

Provenance
kibAuthored on Jul 11 2025, 6:57 PM
Parents
rGf5dba673345e: pf tests: fix anchor:nat test
Branches
Unknown
Tags
Unknown