comp.lang.ada
 help / color / mirror / Atom feed
From: Mark Lorenzen <mark.lorenzen@gmail.com>
Subject: Re: No_Implicit_Heap_Allocations
Date: Thu, 27 Jan 2011 03:06:00 -0800 (PST)
Date: 2011-01-27T03:06:00-08:00	[thread overview]
Message-ID: <72385e60-87d6-46a3-8051-73761fee9039@k12g2000vbg.googlegroups.com> (raw)
In-Reply-To: 0b92849a-7719-45f5-a6bb-568be824a414@k17g2000pre.googlegroups.com

On 27 Jan., 11:38, Maciej Sobczak <see.my.homep...@gmail.com> wrote:
>
> What happens here? In what way p.adb violates the restriction on
> implicit heap usage?
> I don't see anything there that could possibly violate it and if it
> does due to internals of this trivial protected object, then I think
> Ravenscar programs are in trouble.
>
> This is GNAT GPL 2009 on Linux-x86.

Add pragma Restrictions (No_Implicit_Heap_Allocations) the
specification of P and it will build.

- Mark L



  parent reply	other threads:[~2011-01-27 11:06 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 ` Mark Lorenzen [this message]
2011-01-27 15:49   ` No_Implicit_Heap_Allocations Maciej Sobczak
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