Re: [gtkmm] #pragma pack(1) and Gtk string Segmentation Faults



Paul Davis wrote:


fire this programmer unless he was writing device drivers. if so, stop
including his header files. i am deadly serious.

Alas, this is another case of: another programmer who works for another organization in another state - who has since gone on to another job.

I got rid of the #pragma's and went through the header patiently adding }__attribute((packed))__;
to the end of all the structures.  Now everything works fine.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]