comp.lang.ada
 help / color / mirror / Atom feed
From: "M. A. Alves" <maa@liacc.up.pt>
To: comp.lang.ada@ada.eu.org
Subject: Compiler complaint legal?
Date: Wed, 20 Jun 2001 19:17:56 +0100 (WEST)
Date: 2001-06-20T19:17:56+01:00	[thread overview]
Message-ID: <mailman.993057563.10765.comp.lang.ada@ada.eu.org> (raw)

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




             reply	other threads:[~2001-06-20 18:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-20 18:17 M. A. Alves [this message]
2001-06-20 17:51 ` Compiler complaint legal? 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
replies disabled

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