Sujet : Re: do { quit; } else { }
De : Keith.S.Thompson+u (at) *nospam* gmail.com (Keith Thompson)
Groupes : comp.lang.cDate : 10. Apr 2025, 12:28:05
Autres entêtes
Organisation : None to speak of
Message-ID : <87wmbs45oa.fsf@nosuchdomain.example.com>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
User-Agent : Gnus/5.13 (Gnus v5.13)
bart <
bc@freeuk.com> writes:
[...]
Someone, not anyone but the all-knowing Tim, said: "and those types
are not compatible, because the two struct tags are different."
>
Do you agree with that? Or is there something more to making two types
be incompatible?
I don't recall the exact discussion and I wouldn't try to speak
for Tim, but I suspect he was saying that the fact that the two
struct tags are different is enough to know that the types are
not compatible. In a similar vein, I know that 152016259867 and
152016259868 are unequal because one of them is even and the other
is odd. That doesn't imply that 152016259867 and 3 are equal.
The rules for type compatibility are in the C standard. Reading them
could give you even more things to complain about.
-- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.comvoid Void(void) { Void(); } /* The recursive call of the void */