Sujet : Re: do { quit; } else { } De : already5chosen (at) *nospam* yahoo.com (Michael S) Groupes :comp.lang.c Date : 11. Apr 2025, 12:26:36 Autres entêtes Organisation : A noiseless patient Spider Message-ID :<20250411142636.00006c00@yahoo.com> References :12345678910111213141516171819202122 User-Agent : Claws Mail 4.1.1 (GTK 3.24.34; x86_64-w64-mingw32)
On Thu, 10 Apr 2025 17:59:15 -0700 Keith Thompson <Keith.S.Thompson+u@gmail.com> wrote:
An understanding of what "compatible types" means.
Bart didn't say that types are compatible or non-compatible. He said that they are 'compatible enough'. That is not terminology of C Standard, but terminology of his own. And he seems to understand it.
In my own translation, 'compatible enough' means that when these structs are accessed then any sane or even semi-sane compiler will generate code that will have the same effect as in case of access through structures with literally identical declarations.