Date: Wed, 19 Jun 1996 20:20:43 +0200 (IST) From: Eli Zaretskii To: Joern Sierwald Cc: djgpp AT delorie DOT com Subject: Re: findfirst bug? In-Reply-To: <31C7E4E1.5ABB@tu-harburg.d400.de> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Wed, 19 Jun 1996, Joern Sierwald wrote: > The find_t struct in dos.h is supposed to be packed. It > is full of (packed) attributes. For some strange reason, it isn't > packed until I put an #pragma pack(1) in front of it. > (#pragma pack() behind it). > > The findfirst/findnext functions don't work until I modify > the headers. > > Is this a known bug? I'm using V 2.00. Yes, it's a known bug in the C++ compiler of GCC 2.7.2 (C compiler does pack structs as it should).