https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119855
--- Comment #10 from Jonathan Wakely <redi at gcc dot gnu.org> --- The C23 change and the C++26 change were proposed concurrently and were originally part of the same proposal, and the glibc bug about scoped enums is related to that same proposal. However, glibc really needs two separate definitions of assert, as different solutions are needed for C and C++, even if the goal is similar in each case.