From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,99e8b9cfc31999f4,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews2.google.com!not-for-mail From: evangeli@cnam.fr (Evangelista Sami) Newsgroups: comp.lang.ada Subject: explanation about an error message Date: 7 Jul 2004 02:57:23 -0700 Organization: http://groups.google.com Message-ID: <5f59677c.0407070157.7e5d523@posting.google.com> NNTP-Posting-Host: 163.173.228.31 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1089194244 17757 127.0.0.1 (7 Jul 2004 09:57:24 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 7 Jul 2004 09:57:24 +0000 (UTC) Xref: g2news1.google.com comp.lang.ada:2095 Date: 2004-07-07T02:57:23-07:00 List-Id: 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