comp.lang.ada
 help / color / mirror / Atom feed
* Compiler complaint legal?
@ 2001-06-20 18:17 M. A. Alves
  2001-06-20 17:51 ` Ted Dennison
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: M. A. Alves @ 2001-06-20 18:17 UTC (permalink / raw)
  To: comp.lang.ada

Package O defines type O.  GNAT does not recognize the type here:

with O; use O;
procedure O_Test is
  Object: O; -- HERE
begin
  Create(Object);
end O_Test;

I have to spell it out for him (tested, other lines being equal):

  Object: O.O;

Academic question: is this a legal complaint from a (aledgedly) validated
compiler?

(GNAT says "subtype mark required in this context" which I find confusing
because one does not immediately realise that what he is missing is a
"subtype indication" but this is another story I think.)

Thanks,

-- 
   ,
 M A R I O   data miner, LIACC, room 221   tel 351+226078830, ext 121
 A M A D O   Rua Campo Alegre, 823         fax 351+226003654
 A L V E S   P-4150 PORTO, Portugal        mob 351+939354002




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-06-21 23:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-20 18:17 Compiler complaint legal? M. A. Alves
2001-06-20 17:51 ` Ted Dennison
2001-06-20 18:02   ` Jean-Pierre Rosen
2001-06-20 21:33 ` Robert A Duff
2001-06-21 23:40 ` Jeff Creem

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