https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117294
Nathaniel Shead <nshead at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nshead at gcc dot gnu.org --- Comment #4 from Nathaniel Shead <nshead at gcc dot gnu.org> --- At least for type traits defined directly in terms of compiler builtins I feel it should be possible to provide better errors here. I've posted a patch here https://gcc.gnu.org/pipermail/gcc-patches/2024-November/667976.html for comment that would open the road to improving this, though I'm not sure that this is the best way to go about it.