On Tue, Nov 26, 2024 at 04:35:15PM -0500, Marek Polacek wrote: > Thanks for the patch. > > For: > > typedef int _Bool; > > or > > int _Bool; > > this patch says: > > note: '_Bool' is a keyword with '-std=c23' onwards > > but I don't think that's true: _Bool was added in C99 and is obsolescent in > C23.
I think one can just decide based on IDENTIFIER_POINTER (type)[0] == 'b' whether to use "-std=c23" or "-std=c99". Jakub