Groups | Search | Server Info | Login | Register
Groups > comp.lang.c > #393390
| Path | csiph.com!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Tim Rentsch <tr.17687@z991.linuxsc.com> |
| Newsgroups | comp.lang.c |
| Subject | Re: do { quit; } else { } |
| Date | Tue, 13 May 2025 18:15:17 -0700 |
| Organization | A noiseless patient Spider |
| Lines | 25 |
| Message-ID | <86ikm4vvq2.fsf@linuxsc.com> (permalink) |
| References | <vspbjh$8dvd$1@dont-email.me> <vt48go$35hh3$2@dont-email.me> <86iknecjz8.fsf@linuxsc.com> <vt4del$3a9sk$1@dont-email.me> <86o6x5at05.fsf@linuxsc.com> <vt712u$1m84p$1@dont-email.me> <20250409170901.947@kylheku.com> <vt88bk$2rv8r$1@dont-email.me> <87wmbs45oa.fsf@nosuchdomain.example.com> <vt8hdp$333f0$1@dont-email.me> <87semf4pw5.fsf@nosuchdomain.example.com> <vt9let$4au3$1@dont-email.me> <87zfgn344c.fsf@nosuchdomain.example.com> <20250411142636.00006c00@yahoo.com> <20250411102119.431@kylheku.com> <20250413204521.0000238e@yahoo.com> <861psuziq2.fsf@linuxsc.com> <vvt13g$14otk$1@dont-email.me> <87ecwt37b9.fsf@nosuchdomain.example.com> <vvv43b$1o3o0$1@dont-email.me> <1000ne2$2323t$1@dont-email.me> |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Injection-Date | Wed, 14 May 2025 03:15:18 +0200 (CEST) |
| Injection-Info | dont-email.me; posting-host="adcc0210618ce5c814d2d263cc71a7bf"; logging-data="2246136"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18LMRycWeBzlECnkGlAtM7MjPPS+dPDMks=" |
| User-Agent | Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux) |
| Cancel-Lock | sha1:UWVkNXKwn/zgYNYKYWO+QqfQM44= sha1:+OPwoMdwDrzmVfPV7NwfIWgfmIM= |
| Xref | csiph.com comp.lang.c:393390 |
Show key headers only | View raw
James Kuyper <jameskuyper@alumni.caltech.edu> writes: > On 5/13/25 05:40, David Brown wrote: > >> On 12/05/2025 22:25, Keith Thompson wrote: > > ... > >>> I think that a lot of C programmers misunderstand what "compatible >>> types" means. Many seem to think that two types are compatible if >>> they have the same representation and can be assigned without a cast. >> >> Yes. Basically, most C programmers are not particularly aware of the >> technical definitions of some of the terms in C standards where they >> differ from common usage. The word "compatible" in English means that >> the things in question can work together or fit together. > > That's pretty much what it means in C. Two C types are compatible > in C if the C standard *guarantees* that they can work together - > that you can use the types interchangeably. [...] This description isn't exactly right, because the relationship of being compatible is not an equivalence relation. It is possible that given types A, B, and C, A is compatible with B, and B is compatible with C, but A is not compatible with C.
Back to comp.lang.c | Previous | Next — Previous in thread | Find similar
Re: do { quit; } else { } Tim Rentsch <tr.17687@z991.linuxsc.com> - 2025-05-11 19:05 -0700
Re: do { quit; } else { } David Brown <david.brown@hesbynett.no> - 2025-05-12 16:37 +0200
Re: do { quit; } else { } Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2025-05-12 13:25 -0700
Re: do { quit; } else { } David Brown <david.brown@hesbynett.no> - 2025-05-13 11:40 +0200
Re: do { quit; } else { } James Kuyper <jameskuyper@alumni.caltech.edu> - 2025-05-13 20:17 -0400
Re: do { quit; } else { } Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2025-05-13 17:51 -0700
Re: do { quit; } else { } James Kuyper <jameskuyper@alumni.caltech.edu> - 2025-05-13 22:23 -0400
Re: do { quit; } else { } David Brown <david.brown@hesbynett.no> - 2025-05-14 11:07 +0200
Re: do { quit; } else { } Kaz Kylheku <643-408-1753@kylheku.com> - 2025-05-14 15:03 +0000
Re: do { quit; } else { } James Kuyper <jameskuyper@alumni.caltech.edu> - 2025-05-14 23:17 -0400
Re: do { quit; } else { } David Brown <david.brown@hesbynett.no> - 2025-05-14 11:22 +0200
Re: do { quit; } else { } Tim Rentsch <tr.17687@z991.linuxsc.com> - 2025-05-13 18:15 -0700
csiph-web