🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #2362

Re: Dereferencing Typecast Integer Literals

#2362
From: Henry Spencer
Date: Tue, 05 Feb 1991 17:16
14 lines
1124 bytes
In article <1991Feb4.234142.26867@watmath.waterloo.edu> datangua@watmath.waterloo.edu (David Tanguay) writes:
>>Also, each implementation is required to
>>provide SOME integral type to which any data pointer can be cast such
>>that upon subsequent cast back to the same type of pointer, the new
>>pointer value will compare equal to the old value.
>
>Where does the standard say this? ...

Doug is probably thinking of the language in older drafts, which did
promise that there was such an integer type.  The final standard does
not.  Be nice, though:  he's not the only one to have overlooked this.
-- 
"Maybe we should tell the truth?"      | Henry Spencer at U of Toronto Zoology
"Surely we aren't that desperate yet." |  henry@zoo.toronto.edu   utzoo!henry
Technical Details
Message-ID: <1991Feb5.171613.12410@zoo.toronto.edu>
Path: arc1-ca.pugleaf.net!utzoo!henry
References: <15067@smoke.brl.mil> <1991Feb4.234142.26867@watmath.waterloo.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.std.c
Path: arc1-ca.pugleaf.net!utzoo!henry
From: henry@zoo.toronto.edu (Henry Spencer)
Subject: Re: Dereferencing Typecast Integer Literals
Message-ID: <1991Feb5.171613.12410@zoo.toronto.edu>
Organization: U of Toronto Zoology
References: <15067@smoke.brl.mil> <1991Feb4.234142.26867@watmath.waterloo.edu>
Date: Tue, 5 Feb 1991 17:16:13 GMT