Casting Function Pointers

Henry Spencer henry at zoo.toronto.edu
Sun May 26 08:17:56 AEST 1991


In article <16259 at smoke.brl.mil> gwyn at smoke.brl.mil (Doug Gwyn) writes:
>I'm not aware of any changes between the final draft of K&R2 (first printing)
>and the official C standard that would make K&R2 less correct...

I know of at least one -- it's no longer promised that casting a pointer to
integer and back preserves its value if the integer is big enough -- and
there are probably a few more.
-- 
"We're thinking about upgrading from    | Henry Spencer @ U of Toronto Zoology
SunOS 4.1.1 to SunOS 3.5."              |  henry at zoo.toronto.edu  utzoo!henry



More information about the Comp.std.c mailing list