From: Adam Beneschan <adam@irvine.com>
Subject: Re: Possible compiler bug with this simple program
Date: Thu, 28 Aug 2008 08:56:12 -0700 (PDT)
Date: 2008-08-28T08:56:12-07:00 [thread overview]
Message-ID: <727ae6bd-b3da-4435-9b5f-07825078f084@r35g2000prm.googlegroups.com> (raw)
In-Reply-To: e203303d-0f2d-4779-9459-952dca31b0e1@w24g2000prd.googlegroups.com
On Aug 28, 8:54 am, Adam Beneschan <a...@irvine.com> wrote:
> I agree that the compiler should have rejected this. But it might
> work to declare Real_Vector as a constrained array:
>
> type Real_Vector is array (0 .. Integer'Last) of Long_Float;
Or, perhaps, declare a subtype:
subtype Constrained_Real_Vector is Real_Vector (0 ..
Integer'Last);
and use the subtype as the parameter type in mapform19 and your access-
to-procedure type.
-- Adam
next prev parent reply other threads:[~2008-08-28 15:56 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-28 7:28 Possible compiler bug with this simple program Jerry
2008-08-28 7:56 ` Ludovic Brenta
2008-08-28 21:08 ` Jerry
2008-08-29 20:39 ` Ludovic Brenta
2008-08-29 21:20 ` Jerry
2008-08-29 21:31 ` Jerry
2008-09-02 22:10 ` Santiago Urueña
2008-08-28 8:03 ` Niklas Holsti
2008-08-28 15:54 ` Adam Beneschan
2008-08-28 15:56 ` Adam Beneschan [this message]
2008-08-28 21:01 ` Randy Brukardt
2008-08-28 21:29 ` Jerry
2008-08-30 1:00 ` Randy Brukardt
2008-08-30 4:47 ` Jerry
2008-09-01 11:19 ` Jerry
2008-09-03 4:22 ` Jerry
2008-09-03 14:20 ` Adam Beneschan
2008-09-04 0:22 ` Jerry
2008-09-04 1:18 ` Adam Beneschan
2008-09-04 3:53 ` Randy Brukardt
2008-09-04 1:31 ` Jeffrey R. Carter
2008-09-04 14:35 ` Adam Beneschan
2008-09-04 14:42 ` Jacob Sparre Andersen
2008-09-06 3:03 ` Jerry
2008-09-05 8:17 ` Ludovic Brenta
2008-09-05 15:56 ` Adam Beneschan
2008-09-05 17:09 ` Jeffrey R. Carter
2008-09-04 20:49 ` Simon Wright
2008-08-28 21:16 ` Jerry
2008-08-29 7:41 ` Niklas Holsti
2008-08-30 0:50 ` Randy Brukardt
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox