comp.lang.ada
 help / color / mirror / Atom feed
From: Jeff Carter <jrcarter001@my-deja.com>
Subject: Re: Instantiating a generic formal procedure with an access procedure value
Date: 2000/01/13
Date: 2000-01-13T00:00:00+00:00	[thread overview]
Message-ID: <85jho4$5a9$1@nnrp1.deja.com> (raw)
In-Reply-To: x7vpuv7t2zb.fsf@pogner.demon.co.uk

In article <x7vpuv7t2zb.fsf@pogner.demon.co.uk>,
  Simon Wright <simon@pogner.demon.co.uk> wrote:
> Jeff Carter <jrcarter001@my-deja.com> writes:
>
> > This issue is still unresolved. We know that Tucker Taft's favorite
> > front end accepts this code, but that GNAT 3.11p does not.
>
> pogner[12]$ PATH=/opt/gnu/bin:$PATH gnatmake -g -O2 -v s
>
> GNATMAKE 3.12a2 (19990629) Copyright 1995-1999 Free Software
Foundation, Inc.
>   "s.ali" being checked ...
>   -> "s.ali" missing.
> gcc -c -g -O2 s.adb
> s.adb:10:10: instantiation abandoned
> s.adb:10:63: missing argument for parameter "Element"
> s.adb:12:10: "Local" is undefined
> gnatmake: "s.adb" compilation error
>
> (I expect 3.12p will do the same)
>
I suspect you're right. Thanks for testing this.

OK, Tucker Taft's favorite front end accepts the instantiation, but
GNAT does not. Now hopefully the language lawyers and compiler
implementers will answer (or argue) the question: Which is correct?

--
Jeff Carter
"Now go away or I shall taunt you a second time."
-- Monty Python and the Holy Grail


Sent via Deja.com http://www.deja.com/
Before you buy.




  reply	other threads:[~2000-01-13  0:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-12-31  0:00 Instantiating a generic formal procedure with an access procedure value Jeff Carter
2000-01-03  0:00 ` Tucker Taft
2000-01-04  0:00   ` Jeff Carter
2000-01-04  0:00     ` Tucker Taft
2000-01-05  0:00       ` Jeff Carter
2000-01-05  0:00         ` Ed Falis
2000-01-12  0:00         ` Jeff Carter
2000-01-12  0:00           ` Simon Wright
2000-01-13  0:00             ` Jeff Carter [this message]
2000-01-13  0:00               ` Tucker Taft
2000-01-14  0:00                 ` Jeff Carter
2000-01-13  0:00               ` Simon Wright
replies disabled

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