From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,31b3d1f7b3516357 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail NNTP-Posting-Date: Fri, 12 Jan 2007 13:09:22 -0600 Date: Fri, 12 Jan 2007 14:08:10 -0500 From: Jeffrey Creem User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Cannot initialize entities of limited type? References: <45a7956e$1@news.post.ch> In-Reply-To: <45a7956e$1@news.post.ch> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <8t2l74-n79.ln1@newserver.thecreems.com> NNTP-Posting-Host: 24.147.74.171 X-Trace: sv3-hLcR93QHX9Nptj4B/H2RuKWB+JOT/GR7Fy7KOL6ZFSZC0bHhSLd8f7Blvwnx+Rk8oeCRTeZX4mKtl94!wqbk37j/NRyZJ35sPwE+qlIzHbV8z2Kd5quqEB49b1+oE47f1a99hbhoqFGExFO+xOyQPe9G4Qge!0qw= X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.32 Xref: g2news2.google.com comp.lang.ada:8121 Date: 2007-01-12T14:08:10-05:00 List-Id: 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!