Hacker News new | ask | show | jobs
by saagarjha 2614 days ago
__attribute__((packed)) is not part of the standard, and therefore doesn't quite answer the question. I believe the standards-compliant way of doing this is that "you can't".