From: "J-P. Rosen" <rosen@adalog.fr>
Subject: Re: Ada Packages
Date: Sat, 17 Sep 2011 08:16:30 +0200
Date: 2011-09-17T08:16:30+02:00 [thread overview]
Message-ID: <j51e00$2ef$1@dont-email.me> (raw)
In-Reply-To: <9diqfnFu6kU1@mid.individual.net>
Le 17/09/2011 07:45, George a écrit :
> I tried to build a basic package. My two files look like this:
>
> File 1: basic_num_io.ads
>
> package Basic_Num_IO is
> procedure Num_IO;
> end Basic_Num_IO;
>
[...]
> basic_num_io.ads:8:01: end of file expected, file can have only one
> compilation unit
>
Hmmm... It complains at line 8, but what you show has only 3 lines.
There must be something else that you didn't notice at the end of the
file, and the compiler considers that something as a second compilation
unit in the same file.
--
---------------------------------------------------------
J-P. Rosen (rosen@adalog.fr)
Adalog a déménagé / Adalog has moved:
2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX
Tel: +33 1 45 29 21 52, Fax: +33 1 45 29 25 00
next prev parent reply other threads:[~2011-09-17 6:16 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-17 5:45 Ada Packages George
2011-09-17 6:15 ` Jeffrey Carter
2011-09-17 6:16 ` J-P. Rosen [this message]
2011-09-17 7:18 ` Georg Maubach
2011-09-17 7:42 ` Simon Wright
2011-09-17 7:46 ` Georg Maubach
-- strict thread matches above, loose matches on Subject: below --
2004-02-17 10:20 ada packages Kuba Malczak
2004-02-17 11:10 ` Preben Randhol
2004-02-17 11:55 ` Kuba Malczak
1996-06-11 0:00 ADA PACKAGES Robert Adams
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox