Date: Tue, 9 Jul 1996 19:22:45 +0200 (IST) From: Eli Zaretskii To: Alexander Lehmann Cc: djgpp AT delorie DOT com Subject: Re: C/C++ Packing (was: Re: [_dos_]find{first|next} problem!) In-Reply-To: <4rtj11$13n1@rs18.hrz.th-darmstadt.de> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On 9 Jul 1996, Alexander Lehmann wrote: > This is a known bug in gcc 2.7.2, in C++, structures cannot be packed > like in C. To fix this, either wait for the next gcc, write wrapper > findxxx functions in a C module and call them from C++, or you can add > a #pragma statment that I current don't remember. You could check the > archive of comp.os.msdos.djgpp at http://www.delorie.com The available solutions are also explained in the new release 2.01 of the DJGPP FAQ list, section 22.10.