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,60c8b2ba217a0a9d X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!204.127.204.224.MISMATCH!wns14feed!worldnet.att.net!attbi_s22.POSTED!53ab2750!not-for-mail From: "Jeffrey R. Carter" Organization: jrcarter at acm dot org User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: gnade error References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: NNTP-Posting-Host: 12.201.97.213 X-Complaints-To: abuse@mchsi.com X-Trace: attbi_s22 1163523675 12.201.97.213 (Tue, 14 Nov 2006 17:01:15 GMT) NNTP-Posting-Date: Tue, 14 Nov 2006 17:01:15 GMT Date: Tue, 14 Nov 2006 17:01:15 GMT Xref: g2news2.google.com comp.lang.ada:7450 Date: 2006-11-14T17:01:15+00:00 List-Id: Stephen Leake wrote: > Brian May writes: > >> gnu-db-sqlcli.adb:134:42: cannot inline "To_Ada" (call returns >> unconstrained type) > > That seems clear to me. > > It's _legal_, but somewhere the code requests inlining of To_Ada, > which GNAT can't do, for the reason stated. > > The fix is to remove the 'pragma Inline'. A pragma Inline should not cause a compilation error. The presence or absence of a pragma should not change a legal program to an illegal program nor illegal to legal. -- Jeff Carter "Help! Help! I'm being repressed!" Monty Python & the Holy Grail 67