comp.lang.ada
 help / color / mirror / Atom feed
From: aklee@no_spam.bonsai.net (Albert K. Lee)
Subject: Re: Which compiler is right ?
Date: 1997/07/25
Date: 1997-07-25T00:00:00+00:00	[thread overview]
Message-ID: <slrn5tg777.9p.aklee@bonsai.net> (raw)
In-Reply-To: 33D718BA.1E9A@magic.fr


On Thu, 24 Jul 1997 10:56:26 +0200, Strategies <strategies@magic.fr> wrote:
>Hello
>Is the following code legal ?
>I have two compilers with two different answers
>
>generic
>   type Element_Type is limited private;
>   type Index_Type is (<>);
>   type Element_Array is array (Index_Type range <>) of Element_Type;
>   with function Equal (Left, Right : Element_Type) 
>	return Boolean is "=";   
>function Generic_Indice (Left : Element_Type;
>			  Right : Element_Array) return Index_Type;

Personally, just by glancing at the code, it is difficult to figure
out why this code may be rejected; can you tell us the error you
encountered?

-Albert




  parent reply	other threads:[~1997-07-25  0:00 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-07-24  0:00 Which compiler is right ? Strategies
1997-07-25  0:00 ` Tucker Taft
1997-07-25  0:00 ` Albert K. Lee [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-03-16 13:44 which compiler is right? Lionel.DRAGHI
2004-03-16 14:56 ` Dmitry A. Kazakov
2004-03-16 23:43 ` Randy Brukardt
2004-03-17 17:27 ` Adam Beneschan
2004-03-18  5:07   ` Randy Brukardt
2004-03-18 20:33     ` Adam Beneschan
2004-03-19 19:48       ` Randy Brukardt
2004-03-16 15:35 Lionel.DRAGHI
2004-03-17 10:16 Lionel.DRAGHI
2004-03-17 17:48 ` Randy Brukardt
2004-03-17 18:53 Lionel.DRAGHI
2004-03-18  4:57 ` Randy Brukardt
2004-03-17 18:56 Lionel.DRAGHI
replies disabled

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