🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #4180

Re: Union access

#4180
From: Clive D.W. Feather
Date: Wed, 04 Oct 1995 22:33
13 lines
1104 bytes
In article <44u4uv$c18@lyra.csx.cam.ac.uk>,
Nick Maclaren <nmm1@cus.cam.ac.uk> wrote:
> Assigning a value to a 'const int *' initial member and reading it as an
> 'int *' etc.  Because these are not compatible types, 3.3.2.3 makes the
> effect implementation-defined.

I filed a Defect Report on a related issue. Unfortunately, the response
was along the lines of "it should work but it's not required to".

-- 
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: <DFy3zD.Dtn@stdc.demon.co.uk>
Path: arc1-ca.pugleaf.net!stdc.demon.co.uk!clive
References: <812736828snz@soliton.demon.co.uk> <44u0jm$9pr@lyra.csx.cam.ac.uk> <44u2h1$362@rdsunx.crd.ge.com> <44u4uv$c18@lyra.csx.cam.ac.uk>

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: Union access
Date: Wed, 4 Oct 1995 22:33:11 GMT
Organization: Demon Internet Limited (personal account)
Message-ID: <DFy3zD.Dtn@stdc.demon.co.uk>
References: <812736828snz@soliton.demon.co.uk> <44u0jm$9pr@lyra.csx.cam.ac.uk> <44u2h1$362@rdsunx.crd.ge.com> <44u4uv$c18@lyra.csx.cam.ac.uk>
Reply-To: clive@demon.net
X-NNTP-Posting-Host: stdc.demon.co.uk