Article View: comp.std.c
Article #4067Re: Converting between pointer types
From: Clive D.W. Feather
Date: Wed, 20 Sep 1995 05:13
Date: Wed, 20 Sep 1995 05:13
15 lines
1187 bytes
1187 bytes
In article <43n718$ns@Radon.Stanford.EDU>, Denizen of the Deep <becker@Xenon.Stanford.EDU> wrote: > What is the status of my program if it attempts such a conversion, > given that I know exactly how the compiler is generating code and I know > it does exactly what I want? Is it legal but just not portable, or is > it not even technically a legal C program (since the behavior is > undefined rather than implementation-defined)? If there is a conforming implementation that will accept your program, then it is a conforming program. Just not strictly conforming. -- Clive D.W. Feather | If you lie to the compiler, clive@demon.net (work, preferred) | it will get its revenge. clive@stdc.demon.co.uk (home) | - Henry Spencer
Technical Details
Message-ID:
<DF6uIu.D8t@stdc.demon.co.uk>Path:
arc1-ca.pugleaf.net!stdc.demon.co.uk!cliveReferences:
<43n718$ns@Radon.Stanford.EDU>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!stdc.demon.co.uk!clive From: clive@stdc.demon.co.uk (Clive D.W. Feather) Newsgroups: comp.std.c Subject: Re: Converting between pointer types Date: Wed, 20 Sep 1995 05:13:40 GMT Organization: Demon Internet Limited (personal account) Message-ID: <DF6uIu.D8t@stdc.demon.co.uk> References: <43n718$ns@Radon.Stanford.EDU> Reply-To: clive@demon.net X-NNTP-Posting-Host: stdc.demon.co.uk