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: Fri, 12 Jan 2007 15:28:58 +0100
Date: 2007-01-12T15:28:58+01:00	[thread overview]
Message-ID: <eo85va$gp2$1@cernne03.cern.ch> (raw)
In-Reply-To: <45a7956e$1@news.post.ch>

Martin Krischik wrote:

>> $ gnatmake hello
>> gcc -c hello.adb
>> hello.adb:17:16: cannot initialize entities of limited type
>> gnatmake: "hello.adb" compilation error
>> $
>>
>> I got lost. What's wrong in the code above?
> 
> You are using a new Ada 2005 feature which your compiler may not yet 
> support.

GNAT GPL 2005 (20050729)

Not 2005'ish enough? :-)

> Update your compiler  or use:
> 
> procedure Constructor (X: in out T);

OK, I will try this for the time being.


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



  reply	other threads:[~2007-01-12 14:28 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 [this message]
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
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