Mail Archives: djgpp/1996/06/19/13:43:09
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).
- Raw text -