From: Maciej Sobczak <see.my.homepage@gmail.com>
Subject: Re: No_Implicit_Heap_Allocations
Date: Thu, 27 Jan 2011 07:49:33 -0800 (PST)
Date: 2011-01-27T07:49:33-08:00 [thread overview]
Message-ID: <185be3a1-ac6a-4def-bfca-a45916c0865a@u3g2000vbe.googlegroups.com> (raw)
In-Reply-To: 72385e60-87d6-46a3-8051-73761fee9039@k12g2000vbg.googlegroups.com
On Jan 27, 12:06 pm, Mark Lorenzen <mark.loren...@gmail.com> wrote:
> Add pragma Restrictions (No_Implicit_Heap_Allocations) the
> specification of P and it will build.
That is true, but it still looks like a compiler bug to me.
I should not add all possible Restrictions to my library units just in
case any of them will be some day used in a program that imposes any
of these restrictions, right?.
This check should be done automagically and in fact different versions
of GNAT behave differently in this regard.
--
Maciej Sobczak * http://www.inspirel.com
next prev parent reply other threads:[~2011-01-27 15:49 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-27 10:38 No_Implicit_Heap_Allocations Maciej Sobczak
2011-01-27 11:00 ` No_Implicit_Heap_Allocations Maciej Sobczak
2011-01-27 11:06 ` No_Implicit_Heap_Allocations Mark Lorenzen
2011-01-27 15:49 ` Maciej Sobczak [this message]
2011-01-27 18:07 ` No_Implicit_Heap_Allocations Vinzent Hoefler
2011-01-27 22:13 ` No_Implicit_Heap_Allocations Maciej Sobczak
2011-01-28 5:15 ` No_Implicit_Heap_Allocations Yannick Duchêne (Hibou57)
2011-01-28 15:19 ` No_Implicit_Heap_Allocations Maciej Sobczak
2011-01-28 15:38 ` No_Implicit_Heap_Allocations Mark Lorenzen
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox