Re: Cannot initialize entities of limited type?
- From: Jeffrey Creem <jeff@xxxxxxxxxxxxx>
- Date: Fri, 12 Jan 2007 14:08:10 -0500
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. Update your compiler or use:
procedure Constructor (X: in out T);
Martin
Ah.. Of course that is a pretty obvious response to the original question that I totally missed. Woops!
.
- References:
- Cannot initialize entities of limited type?
- From: Maciej Sobczak
- Re: Cannot initialize entities of limited type?
- From: Martin Krischik
- Cannot initialize entities of limited type?
- Prev by Date: RE: Timing events in GNAT GPL 2006
- Next by Date: Re: Cannot initialize entities of limited type?
- Previous by thread: Re: Cannot initialize entities of limited type?
- Next by thread: Re: Cannot initialize entities of limited type?
- Index(es):
Relevant Pages
|