Sam James <s...@gentoo.org> writes: > David Malcolm <dmalc...@redhat.com> writes: > >> This patch attempts to provide better error messages for >> code compiled with C23 that hasn't been updated for >> "bool", "true", and "false" becoming keywords (based on >> a brief review of the Gentoo bug tracker links given at >> https://gcc.gnu.org/pipermail/gcc/2024-November/245185.html). >> >> [...] > > Thanks a lot David -- I'm going to give it a spin on some codebases over > the weekend. > > I have seen some other instances with constexpr, static_assert, and > unreachable, but that looks like it might be easy to add on top of this > and maybe I could have a go at doing that after.
The diagnostics are significantly better -- and importantly, people receiving reports from our testing containing these errors seem to understand the issue more readily now. Thanks!