Mail Archives: djgpp/2000/04/18/11:55:53
DAANEN Vincent <VDAANEN AT chru-lille DOT fr> wrote:
> Hi
> recently, I downloaded gcc 2.95.2 for djgpp. Some programs those
> worked fine when compiled with gcc -2.7.. or gcc 2.8..
> do not work now. They break in malloc functions
> Is there a bug in malloc of gcc 2.95.2 ?
As malloc() is provided by the DJGPP runtime library, not GCC, that
cannot possibly be the case.
Did you really update only GCC, not also the DJGPP main package,
djdev*.zip? I ask because the malloc() in recent DJGPP versions is
quite a lot more picky than the one in old DJGPP's. It exposes bugs in
programs that passed unnoticed in older versions of DJGPP.
So, all in all: the bug is most probably in your program, not in GCC.
--
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.
- Raw text -