Quote:Original post by swiftcoder
Be very careful with the packing alignments: only pack POD structs, and make sure to pop the pack state immediately after. In general, packed structs should only be used for reading and writing legacy binary file formats.
Thanks for the tip, I have definitely learned my lesson this time :D