call to revolt
Doug Gwyn
gwyn at smoke.brl.mil
Fri Jun 28 06:25:53 AEST 1991
In article <4247 at ksr.com> jfw at ksr.com (John F. Woods) writes:
>To accomplish exactly what this person thinks is desired requires a union,
I don't know exactly what that person thinks, if anything, but certainly a
union would not solve anything. It would make things much worse in the
case of an implementation that represents different pointer types
differently.
The simple solution is to use a char* or void* as a "generic pointer" and
deal with the address arithmetic oneself. This is really quite simple and
doesn't need to be hashed over in this (C standards) newsgroup. It is not
a standards issue.
More information about the Comp.std.c
mailing list