From: Lee_Westlake AT TaliadonSystems DOT fsbusiness DOT co DOT uk (Lee Westlake) Newsgroups: comp.os.msdos.djgpp Subject: Padding structures to dword boundaries Date: Mon, 30 Apr 2001 08:31:34 GMT Lines: 15 Message-ID: <3aed224f.3089774@news.freeserve.net> NNTP-Posting-Host: modem-79.paddle-wrasse.dialup.pol.co.uk X-Trace: newsg3.svr.pol.co.uk 988619842 22576 62.137.45.79 (30 Apr 2001 08:37:22 GMT) NNTP-Posting-Date: 30 Apr 2001 08:37:22 GMT X-Complaints-To: abuse AT theplanet DOT net X-Newsreader: Forte Free Agent 1.21/32.243 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Does anyone know how to prevent djgpp from padding structures to dword boundaries? for example: typedef struct { short width; short height; char data1; char data2; char data3; }mystruct; has a byte size of 8 not 7.