CodyIT@programming.dev to Linux@lemmy.ml · 2 天前The Linux Kernel Looks To "Bite The Bullet" In Enabling Microsoft C Extensionswww.phoronix.comexternal-linkmessage-square13fedilinkarrow-up152arrow-down117cross-posted to: [email protected]
arrow-up135arrow-down1external-linkThe Linux Kernel Looks To "Bite The Bullet" In Enabling Microsoft C Extensionswww.phoronix.comCodyIT@programming.dev to Linux@lemmy.ml · 2 天前message-square13fedilinkcross-posted to: [email protected]
minus-squareMinekPo1 [it/she]@lemmygrad.mllinkfedilinkarrow-up3·edit-22 天前“ANSI C” by Kernighan and Ritchie disagrees , including that syntax (note : retranslation from Polish as that’s the language my copy is in) : A8.3 […] struct-union-specifier: , union-struct identifier ₒₚₜ { compound-declaration-list } , union-struct identifier […] Specifiers of structures or unions with [a compound declaration] list, but with no label [identifier], creates a unique type; it may only be referred to in the declaration in which it is part.
minus-squaremina86@lemmy.wtflinkfedilinkEnglisharrow-up1·1 天前Yes, but I was talking about field name, not struct tag. And up to C99 my comment was correct.
“ANSI C” by Kernighan and Ritchie disagrees , including that syntax (note : retranslation from Polish as that’s the language my copy is in) :
Yes, but I was talking about field name, not struct tag. And up to C99 my comment was correct.