comp.lang.ada
 help / color / mirror / Atom feed
From: evangeli@cnam.fr (Evangelista Sami)
Subject: explanation about an error message
Date: 7 Jul 2004 02:57:23 -0700
Date: 2004-07-07T02:57:23-07:00	[thread overview]
Message-ID: <5f59677c.0407070157.7e5d523@posting.google.com> (raw)

hello

could someone explain to me this error message i get :

generator.adb:4:06: unit in with clause is private child unit
generator.adb:4:06: current unit must also have parent "Decls"

and what i could i do to fix that?



the code is the following :

file generator.adb :
-------------------------------

with Generator.Decls; use Generator.Decls;
with Generator.Decls.Vars; use Generator.Decls.Vars;  
package body Generator is
   ...
end generator;
-------------------------------

line 4 is "with Generator.Decls.Vars; use Generator.Decls.Vars;".
generator.decls and generator.decls.vars are two private packages.


thanks



             reply	other threads:[~2004-07-07  9:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-07  9:57 Evangelista Sami [this message]
2004-07-07 12:58 ` explanation about an error message Georg Bauhaus
2004-07-07 19:51   ` Evangelista Sami
2004-07-07 20:32     ` Randy Brukardt
replies disabled

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