comp.lang.ada
 help / color / mirror / Atom feed
From: "Dominic D'Apice" <dapiced@sympatico.ca>
Subject: LRM:3.10.1(5), Can't reference incomplete type compile error
Date: Sat, 19 Oct 2002 11:14:10 -0400
Date: 2002-10-19T11:14:10-04:00	[thread overview]
Message-ID: <mailman.1035040502.4893.comp.lang.ada@ada.eu.org> (raw)

Hi all, i got this compile error : 

Error: line 24 col 48 LRM:3.10.1(5), Can't reference incomplete type

See the "error =>" flag, Can someone help me with that ? thanks

Dominic

------------------------------------------------------------------------

ADS
---

PRIVATE
type reservation;
type louer is access reservation;

procedure allouer_res (ptr_reservation   : in out louer ;
                       objet_reservation : in  "error =>"reservation);


ADB
---

type reservation is record
  num  : natural := 0;						
  plancher  : integer := 20;
  plafond   : integer := 20;
  classe    : auto_res := econo;
  nomclient : string(1..256);
end record;

procedure allouer_res (ptr_reservation   : in out louer ;
                       objet_reservation : in  reservation ) is
begin 

  null;

end allouer_res;

------------------------------------------------------------------------
---




             reply	other threads:[~2002-10-19 15:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-19 15:14 Dominic D'Apice [this message]
2002-10-19 15:49 ` LRM:3.10.1(5), Can't reference incomplete type compile error Robert A Duff
2002-10-21 15:10 ` Wes Groleau
replies disabled

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