comp.lang.ada
 help / color / mirror / Atom feed
From: Michal Nowikowski <godfryd@zamek.gda.pl>
Subject: Unchecked_Deallocation and Constraint_Error
Date: Tue, 19 Feb 2002 12:11:38 +0100
Date: 2002-02-19T12:11:38+01:00	[thread overview]
Message-ID: <pan.2002.02.19.12.11.38.374477.7620@zamek.gda.pl> (raw)

Hello

I've got some code like that:

...
  Cmd : Integer_Array_Access := new Integer_Array(1..1);
...
   Free(Cmd);
   Cmd(1) := 1;
...

Program should throw exception Constraint_Error, but it only
hangs at instruction Cmd(1) := 1; (but doesn't quit). Do you
know whats going on and how to push it to throw exception naturally.

Best Regards
Godfryd

-- 
|  Michal Nowikowski <godfryd@zamek.gda.pl>
|  BOFH excuse #190: Proprietary Information.



             reply	other threads:[~2002-02-19 11:11 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-19 11:11 Michal Nowikowski [this message]
2002-02-19 11:59 ` Unchecked_Deallocation and Constraint_Error Florian Weimer
2002-02-19 16:34   ` Jim Gleason
2002-02-19 23:23   ` Robert Dewar
  -- strict thread matches above, loose matches on Subject: below --
2002-02-19 12:13 Christoph Grein
2002-02-19 12:54 ` Florian Weimer
2002-02-19 14:15   ` Marin David Condic
2002-02-20 18:59     ` Robert Dewar
2002-02-20 22:45       ` Marin David Condic
2002-02-26 22:37     ` Michal Nowikowski
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox