Optimal structure field ordering

Steven Ryan smryan at garth.UUCP
Mon Jul 11 08:37:00 AEST 1988


>>>it could be serious for any language to not specify how it rearranges
>>>structures.  it could make it impossible for separate compilation to
>>>work, period.
>>
>>Not quite true.  As long as the compiler internally arranges the fields in
>>a structure the same way, no problems occur.  There is no need for you, the

I guess I'm just paranoid--I only write out structures if I reread them with
some program. Otherwise I flatten them into a format I know I can control.



More information about the Comp.lang.c mailing list