comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeffrey R. Carter" <spam.jrcarter.not@spam.acm.org>
Subject: Re: Question about circular elaboration order error (GNAT).
Date: Mon, 14 Apr 2008 17:33:33 GMT
Date: 2008-04-14T17:33:33+00:00	[thread overview]
Message-ID: <NzMMj.66778$TT4.52860@attbi_s22> (raw)
In-Reply-To: <48024d11$0$19786$4d3efbfe@news.sover.net>

Peter C. Chapin wrote:
> 
> package Parent is
>    -- Needed so this package requires/allows a body.
>    procedure Dummy;
> end Parent;

Not related to your question, but perhaps of interest to you: Dummy is not 
needed so the pkg allows a body. Pragma Elaborate_Body is a better way to 
achieve that:

package Parent is
    pragma Elaborate_Body;
end Parent;

-- 
Jeff Carter
"My name is Jim, but most people call me ... Jim."
Blazing Saddles
39



  parent reply	other threads:[~2008-04-14 17:33 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-13 18:12 Question about circular elaboration order error (GNAT) Peter C. Chapin
2008-04-13 19:43 ` Samuel Tardieu
2008-04-13 20:20   ` Robert A Duff
2008-04-13 21:20     ` Samuel Tardieu
2008-04-14 20:21       ` Robert A Duff
2008-04-14 23:36         ` Adam Beneschan
2008-04-15  7:13           ` Georg Bauhaus
2008-04-13 19:46 ` Robert A Duff
2008-04-13 22:49   ` Peter C. Chapin
2008-04-14 13:56     ` Robert A Duff
2008-04-14 17:33 ` Jeffrey R. Carter [this message]
2008-04-14 17:52   ` Robert A Duff
replies disabled

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