Xref: news2.mv.net comp.os.msdos.djgpp:2908 From: gerbty AT indigo DOT ie (gerbty) Newsgroups: comp.os.msdos.djgpp Subject: Re: dir.h problem Date: 19 Apr 1996 20:40:58 GMT Organization: Indigo Navigator User Lines: 17 Message-ID: <4l8toq$ar2@niamh.indigo.ie> References: NNTP-Posting-Host: dublin-ts3-84.indigo.ie Mime-Version: 1.0 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp In article , eliz AT is DOT elta DOT co DOT il says... >Are you calling `findfirst' from a C++ program? There is a known bug in >the C++ compiler that comes with GCC 2.7.2: it doesn't pack structures, >and struct ffblk is defined with __attribute__((packed)). > >To work around, either call `findfirst' from a C function, or surround >the definition of struct ffblk (on ) with #pragma pack(1) ... >#pragma pack() lines. Thats damn useful! Is there a list of #pragmas supported in the docs? If not where can I get one? Ger.