comp.lang.ada
 help / color / mirror / Atom feed
From: Martin Dowie <martin.dowie@btopenworld.com>
Subject: Re: Main procedure inside a package?
Date: Wed, 03 May 2006 17:04:46 +0100
Date: 2006-05-03T17:04:46+01:00	[thread overview]
Message-ID: <ecGdnWtiVqQCScXZRVnyrg@bt.com> (raw)
In-Reply-To: <1146660038.801976.129790@g10g2000cwb.googlegroups.com>

wojtek@power.com.pl wrote:
> Hello,
> 
> Is it possible for the main procedure to be inside a package? The
> compiler is GNAT.

That would make your program potentially non-portable. The only form of 
main procedure" that is required to be supported is "However, an 
implementation is required to support all main subprograms that are 
public parameterless library procedures." (RM 10.2.27)
Cheers
-- Martin



  parent reply	other threads:[~2006-05-03 16:04 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-03 12:40 Main procedure inside a package? wojtek
2006-05-03 13:39 ` Pascal Obry
2006-05-03 16:12   ` Jean-Pierre Rosen
2006-05-03 18:04     ` Frank J. Lhota
2006-05-09  0:32     ` Robert A Duff
2006-05-03 16:04 ` Martin Dowie [this message]
2006-05-03 16:47 ` Martin Krischik
2006-05-04 20:28   ` Wojtek
2006-05-03 19:41 ` Rolf
2006-05-11  8:34 ` Sathish Veluswamy
replies disabled

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