Brutkey

Tony Finch
@fanf@mendeddrum.org

c standard nerdery:

where does it say that a struct or union can’t have two members with the same name?

k&r 2 clearly says it is forbidden, but c89 does not, nor does c23 afaics


Robert Edmonds
@edmonds@infosec.exchange

@fanf@mendeddrum.org "An identifier can denote: [...] a member of a struct, union, [...]"? (C23 Β§ 6.2.1)