Path: csiph.com!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: Tim Rentsch
Newsgroups: comp.lang.c
Subject: Re: do { quit; } else { }
Date: Thu, 10 Apr 2025 18:52:04 -0700
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <86jz7rbh2z.fsf@linuxsc.com>
References: <20250406190321.000001dc@yahoo.com> <86plhodtsw.fsf@linuxsc.com> <20250407210248.00006457@yahoo.com> <868qoaeezc.fsf@linuxsc.com> <86mscqcpy1.fsf@linuxsc.com> <86iknecjz8.fsf@linuxsc.com> <86o6x5at05.fsf@linuxsc.com> <20250409170901.947@kylheku.com> <20250410092409.825@kylheku.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Date: Fri, 11 Apr 2025 03:52:08 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="71ab0539a1cf710e3caa6c34edacc1d7"; logging-data="333219"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19Ch/umYjnw1Nj2Q8gI5iYN3yL0lfo1J8c="
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
Cancel-Lock: sha1:IcWVLp0Uo1ipgQRyc5ivinEPD24= sha1:MH475DKW8z066cSI56Gl0uTk6nc=
Xref: csiph.com comp.lang.c:392354
bart writes:
[... compatibility of struct types ...]
> The example was like this:
>
> module A: typedef struct point {float a; float b;} Point;
>
> module B: typedef float length;
> typedef struct _tag {length x, y;} vector;
>
> David Brown said: "The two types are entirely compatible."
>
> I said: "Are they?"
>
> Tim Rentsch said: "No, they are not."
I withdraw my earlier statement. Please leave me out of any
future discussion of the subject.