https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120860
--- Comment #4 from Bruno Haible <bruno at clisp dot org> --- > Attribute on the fields marking them as optional seems like a better option I tend to agree: In most cases, we can distinguish "required" from "optional" fields. With the attribute on the field, the warning remains useful for the case of a missing "required" field. And the attribute on the fields is only minimally less convenient to use than the attribute on the struct.