delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/06/10/04:53:17

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: <v01540b02b3852d402cbc@[145.18.167.138]>
Mime-Version: 1.0
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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019