Funny bugs in some C compilers (structure comparison)
ark at rabbit.UUCP
ark at rabbit.UUCP
Fri Sep 2 00:13:40 AEST 1983
wateng!padpowell complains that structure comparison doesn't do
the "right think" with the padding between elements.
Now you know why structure comparison isn't part of the language.
The only things you can do with a structure are: take its address,
select an element of it, pass it to a function, return it as a value,
and assign it to another (identical) structure.
More information about the Comp.lang.c
mailing list