comp.lang.ada
 help / color / mirror / Atom feed
From: Maciej Sobczak <no.spam@no.spam.com>
Subject: Re: Cannot initialize entities of limited type?
Date: Tue, 16 Jan 2007 09:35:24 +0100
Date: 2007-01-16T09:35:24+01:00	[thread overview]
Message-ID: <eoi2oc$stq$1@cernne03.cern.ch> (raw)
In-Reply-To: <HtUqh.1143563$084.492937@attbi_s22>

Jeffrey Carter wrote:

>> $ gnatmake hello
>> gcc -c hello.adb
>> hello.adb:17:16: cannot initialize entities of limited type
>> gnatmake: "hello.adb" compilation error
> 
> gnatmake -gnat05 hello

Well, there are so many similar replies that I think I will clarify this 
issue.
I'm using -gnat05 option all the time, no matter what.
To be more precise, I'm using this sequence of options:

-gnat05 -gnatv -gnatVa -gnatwe -gnatwa -gnatwd -gnatwh -gnato -gnata 
-gnaty3abcefhiklM100noprux -fstack-check

It just looks like my compiler is half-way Ada2005 and when compiling 
with -gnatv it presents itself as:

GNAT GPL 2005 (20050729)

It lacks many Ada2005 features, not only construction functions for 
limited objects. Some other that I came across are the overriding 
keyword and raise with. There are certainly others as well.

-- 
Maciej Sobczak : http://www.msobczak.com/
Programming    : http://www.msobczak.com/prog/



  reply	other threads:[~2007-01-16  8:35 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-12 13:52 Cannot initialize entities of limited type? Maciej Sobczak
2007-01-12 14:04 ` Martin Krischik
2007-01-12 14:28   ` Maciej Sobczak
2007-01-12 15:06     ` Jean-Pierre Rosen
2007-01-12 20:56       ` Simon Wright
2007-01-13 17:39     ` Georg Bauhaus
2007-01-12 19:08   ` Jeffrey Creem
2007-01-12 14:23 ` Jean-Pierre Rosen
2007-01-12 14:26 ` Jeffrey Creem
2007-01-15 23:53 ` Jeffrey Carter
2007-01-16  8:35   ` Maciej Sobczak [this message]
2007-01-16 13:56     ` Martin Krischik
replies disabled

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