comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeffrey R. Carter" <spam.not.jrcarter@acm.not.spam.org>
Subject: Re: gnade error
Date: Tue, 14 Nov 2006 17:01:15 GMT
Date: 2006-11-14T17:01:15+00:00	[thread overview]
Message-ID: <vDm6h.1062516$084.547719@attbi_s22> (raw)
In-Reply-To: <ur6w6w3ed.fsf@stephe-leake.org>

Stephen Leake wrote:
> Brian May <bam@snoopy.apana.org.au> 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



  reply	other threads:[~2006-11-14 17:01 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-14  8:08 gnade error Brian May
2006-11-14  9:20 ` Dmitry A. Kazakov
2006-11-14 13:42 ` Stephen Leake
2006-11-14 17:01   ` Jeffrey R. Carter [this message]
2006-11-14 17:52     ` Adam Beneschan
2006-11-15  1:23       ` Jeffrey R. Carter
2006-11-15 14:28         ` Robert A Duff
2006-11-14 23:52   ` Brian May
2006-11-15  0:07     ` Ludovic Brenta
replies disabled

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