www.delorie.com/archives/browse.cgi | search |
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 |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |