delorie.com/archives/browse.cgi | search |
Date: | Tue, 14 Aug 2001 20:03:07 +0300 |
From: | "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il> |
Sender: | halo1 AT zahav DOT net DOT il |
To: | "Luis Filipe Fabiani" <luis2 AT becrev DOT com> |
Message-Id: | <8296-Tue14Aug2001200307+0300-eliz@is.elta.co.il> |
X-Mailer: | Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9 |
CC: | djgpp AT delorie DOT com |
In-reply-to: | <004801c124d1$2763c7e0$0200a8c0@lff> (luis2@becrev.com) |
Subject: | Re: Problems with compilation |
References: | <200108140003 DOT UAA12330 AT delorie DOT com> <005601c12455$477bcb80$0200a8c0 AT lff> <001b01c1245f$81ea6600$0200a8c0 AT lff> <997774002 DOT 560704 AT queeg DOT ludd DOT luth DOT se> <004801c124d1$2763c7e0$0200a8c0 AT lff> |
Reply-To: | djgpp AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
> From: "Luis Filipe Fabiani" <luis2 AT becrev DOT com> > Date: Tue, 14 Aug 2001 11:55:18 -0300 > > > Third, how do you deduce that one is right and the other is wrong? > > This is acctually a "translation" to C of a MatLab "program" (.m file). So I > can compare the results from there.... Then I suspect some uninitialized storage, like an array that is not zeroed out. Most (all?) Unix systems return malloc'ed storage that is zeroed out, while DJGPP does not (for performance reasons). You can use the _CRT0_FLAG_FILL_SBRK_MEMORY flag to get the Unix behavior.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |