> Just looked at my old C++ code. And the struct looks like this: > > > struct TaqIdx { > char symbol[10]; > int tdate; > int begrec; > int endrec; > }__attribute__((packed)); > > So I am guessing I want to use the align(1) as Justin suggested. Correct? Yes.