Liste des Groupes | Revenir à cl c |
On 11/04/2025 01:10, bart wrote:But no one, absolutely no one, said outright that you were wrong. Only Keith eventually agreed that one of you (and Tim) was right, but didn't care who, and the next day admitted that one of you might be wrong, but still didn't want to commit himself as to who it might be.On 10/04/2025 23:18, Janis Papanagnou wrote:I had certainly given up and moved on.>>
*If* you're really interested in the topic, and since all the other
posters obviously gave up to continue explaining their sight to you,
why don't you accept that suggestion and read the standard document
to have clarity about the topic? [FYI; this was a rhetoric question.]
I've read the document, or the relevant section.Finally! Now you too can move on.
According to that, DB was wrong, and TR was half-right.Yes, it seems I was inaccurate about the compatibility - the names of the struct and fields need to match across translation units, not just the types of the fields. That's why it is important that /you/ read the standard.
>
Tim was, as usual in these matters, entirely correct as far as I can see. I don't see how he could be considered "half-right" here. Tim has a communication style that some people find grating (to put it mildly), but there is no question that his knowledge of the C standards is outstanding.I said half-right because as he put it, it sounded as though compatibility depended entirely on struct tags.
Les messages affichés proviennent d'usenet.