From: Florian Weimer <fw@deneb.cygnus.argh.org>
Subject: Re: problem solved (and now I know why)
Date: 2000/04/15
Date: 2000-04-15T07:39:47+00:00 [thread overview]
Message-ID: <87em87x16k.fsf@deneb.cygnus.argh.org> (raw)
In-Reply-To: 38F790EE.2273B508@ensco.com
Stephen Arnold <arnold.steve@ensco.com> writes:
> However, one question remains: Why did windoze not catch this problem?
> My original (and incorrect) code runs just fine on win95, win98, and
> even NT4 (which my instructor uses). The original code passed his test
> driver with flying colors, and he tests *everything* (including the
> Overflow exception).
Your program was erroneous, which means that anything could have
happened.
> Is there any way for GNAT to catch this at run-time, or is it completely
> up to the OS? I guess I'll be sticking to Linux from now on...
I think there are Windows libraries with a special version of malloc()
which detects such errors. I don't know how to use them with GNAT,
though.
prev parent reply other threads:[~2000-04-15 0:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-04-14 0:00 problem solved, but I don't know why (was: GNAT implementation bug) Steve Arnold
2000-04-14 0:00 ` Tucker Taft
2000-04-15 0:00 ` Robert Dewar
2000-04-14 0:00 ` problem solved (and now I know why) Stephen Arnold
2000-04-15 0:00 ` Florian Weimer [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox