delorie.com/archives/browse.cgi | search |
Date: | Mon, 9 Sep 1996 10:36:03 +0200 (IST) |
From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
To: | "Mr A. Walker" <junaid AT aurora DOT cc DOT monash DOT edu DOT au> |
Cc: | djgpp AT delorie DOT com |
Subject: | Re: C++ bug |
In-Reply-To: | <51013q$sp5@aurora.cc.monash.edu.au> |
Message-Id: | <Pine.SUN.3.91.960909103402.7673H-100000@is> |
Mime-Version: | 1.0 |
On 9 Sep 1996, Mr A. Walker wrote: > Findfirst() and findnext() seem to get the address of the file > name wrong by 2 chars when using C++. Using C it works OK. Seems > like a structure size bug to me. This is a known bug in GCC 2.7.2 C++ compiler. Use #pragma pack() to work around it. The DJGPP FAQ v2.01 has details in section 22.10.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |