tullmann at cs.utah.edu
Tue Jan 26 11:15:47 PST 1999
> I think arithmetic on void pointers is easily handled with typecasts.
> Zero length arrays can often be changed to length 1 arrays and the
> corresponding code modified (within #ifndef __GNUC__ of course).
Actually, I would suggest hiding the  arrays behind a macro called
ALIGNMENT(), as this would hide the GNU-ism and make it easier to fix
under other compilers (which might provide pragmas or somesuch for
defining the alignment of a structure).
----- ----- ---- --- --- -- - - - - -
Pat Tullmann tullmann at cs.utah.edu
"You can't have everything. Where would you put it?" -- S. Wright
More information about the kaffe