X-Authentication-Warning: mail.bio.uva.nl: Host biomacI-159.bio.uva.nl [145.18.167.159] claimed to be [145.18.167.159] X-Sender: dlanor AT dds DOT nl (Unverified) Message-Id: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Thu, 10 Jun 1999 10:55:29 +0200 To: djgpp AT delorie DOT com From: dlanor AT dds DOT nl (Dlanor Blytkerchan) Subject: Re: malloc() problem (resumed) Reply-To: djgpp AT delorie DOT com >> The weird thing is, though it does the same thing, it does not produce the >> error. The only diffirence is the VGAP library being linked in. Removing it >> (the library) from the program itself does not remove the error, even >> though it does exactly the same as the source above (and I do mean exactly >> the same). >Are you saying that two identical source files behave differently when >compiled? Unless you used different compilation and link switches, >this should never happen. >If the sources are not identical, but just ``similar'', then the cause >of your problem hides somewhere in the differences, however small and >insignificant they might look. Well.. Like I said in my previous mail, the diffirence is in the typedef of bufferType: one is a complex struct with three levels of nested structs, another is an array of chars. That's the only diffirence. Greetz! Dlanor