Re: Possible compiler bug with this simple program
- From: Adam Beneschan <adam@xxxxxxxxxx>
- Date: Thu, 28 Aug 2008 08:56:12 -0700 (PDT)
On Aug 28, 8:54 am, Adam Beneschan <a...@xxxxxxxxxx> 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
.
- References:
- Possible compiler bug with this simple program
- From: Jerry
- Re: Possible compiler bug with this simple program
- From: Niklas Holsti
- Re: Possible compiler bug with this simple program
- From: Adam Beneschan
- Possible compiler bug with this simple program
- Prev by Date: Re: Possible compiler bug with this simple program
- Next by Date: Re: Possible compiler bug with this simple program
- Previous by thread: Re: Possible compiler bug with this simple program
- Next by thread: Re: Possible compiler bug with this simple program
- Index(es):
Relevant Pages
|