comp.lang.ada
 help / color / mirror / Atom feed
* explanation about an error message
@ 2004-07-07  9:57 Evangelista Sami
  2004-07-07 12:58 ` Georg Bauhaus
  0 siblings, 1 reply; 4+ messages in thread
From: Evangelista Sami @ 2004-07-07  9:57 UTC (permalink / 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



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

end of thread, other threads:[~2004-07-07 20:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-07  9:57 explanation about an error message Evangelista Sami
2004-07-07 12:58 ` Georg Bauhaus
2004-07-07 19:51   ` Evangelista Sami
2004-07-07 20:32     ` Randy Brukardt

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