From: j DOT aldrich6 AT genie DOT com Message-Id: <199606282347.AA221005678@relay1.geis.com> Date: Fri, 28 Jun 96 23:16:00 UTC 0000 To: djgpp AT delorie DOT com Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Subject: Re: some questions on DJGPP Reply to message 8028743 from WGALAZKA AT ZOOL on 06/28/96 11:55AM >3) I heard there was a bug with structure packing in gcc 2.7.2. > Can you give some hints how to get around this ? It works correctly when compiling C, but when compiling C++, you must place the following around the structures you need to pack: #pragma pack(1) ... #pragma pack() This is a known bug in gcc, and will hopefully be fixed in the next release. John