https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106357
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> --- This changed intentionally with r12-85-g5f8aed72e76970 c++: Refine enum direct-list-initialization [CWG2374] This implements the wording changes of CWG2374, which clarifies the wording of P0138 to forbid e.g. direct-list-initialization of a scoped enumeration from a different scoped enumeration. This was a change in the standard: https://wg21.link/cwg2374