(void *)

Peter da Silva peter at baylor.UUCP
Fri Jul 26 21:01:35 AEST 1985


> Hopefully, pointers of the ANSI C type "void *" will be able to be assigned
> to any other pointer type without any complaints, including complaints about
> possible alignment problems.

I just realised a major problem with (void *). On machines like the HP-1000
a pointer to a byte and a pointer to a word don't have the same bit-pattern.
How are you supposed to deal with this without having a terribly in-efficient
implementation of 'C'.
-- 
	Peter da Silva (the mad Australian)
		UUCP: ...!shell!neuro1!{hyd-ptd,baylor,datafac}!peter
		MCI: PDASILVA; CIS: 70216,1076



More information about the Comp.lang.c mailing list