* David Malcolm: > whereas with this patch we emit: > > t1.c:7:13: error: 'bool' cannot be defined via 'typedef' > 7 | typedef int bool; > | ^~~~ > t1.c:7:13: note: 'bool' is a keyword with '-std=c23' onwards > t1.c:7:1: warning: useless type name in empty declaration > 7 | typedef int bool; > | ^~~~~~~
I think other diagnostics of this kind use a phrasing like “ISO C23 does not allow using ‘bool’ as an identifier”. Thanks, Florian