https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98142
Eric Gallager <egallager at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |egallager at gcc dot gnu.org
--- Comment #11 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Jason Merrill from comment #10)
> It probably makes sense to use the Clang
> __attribute__((enum_extensibility(closed)) spelling of this attribute, even
> though I don't see the distinction between "open" and no attribute.
>
> https://clang.llvm.org/docs/AttributeReference.html#enum-extensibility
I think the idea is if there's a change to make "closed" the default, "open"
would undo that, whereas no attribute would have no effect.