From: Niklas Holsti <niklas.holsti@tidorum.invalid>
Subject: Re: Pascal to ADA Converter
Date: Wed, 29 Jul 2015 19:03:46 +0300
Date: 2015-07-29T19:03:46+03:00 [thread overview]
Message-ID: <d1sbr2Fcqn6U1@mid.individual.net> (raw)
In-Reply-To: <c1915a1d-ff3e-4d91-be2a-5e743cd153f7@googlegroups.com>
On 15-07-29 17:59 , Fernando Arroyo wrote:
> - build P2Ada ("gnatmake p2ada").and then:
>
> $ gnatmake p2ada
> gcc -c p2ada.adb
> pascal_io.ads:91:01: end of file expected, file can have only one compilation unit
> gnatmake: "p2ada.adb" compilation error
>
>
> I don't understand what happends, it looks that the steps of the README
> does not correspond to this version.
>
> Any idea?
Well, there seems to be something that GNAT does not like in the file
pascal_io.ads, at line 91.
That error message usually means that the source-code file needs to be
divided into separate files, one for each compilation unit (package
declaration, package body, ...) in the original file. Some other Ada
compilers accept source-code files that contain several compilation
units, but GNAT does not.
> The status of my files are the following:
> https://www.dropbox.com/s/9h25jpumt1pzayp/p2ada-aug-2010-src.zip?dl=0
I did not find any file named pascal_io.ads there. Do you have a file by
that name?
--
Niklas Holsti
Tidorum Ltd
niklas holsti tidorum fi
. @ .
next prev parent reply other threads:[~2015-07-29 16:03 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-20 11:51 Pascal to ADA Converter arroyopinto
2015-07-20 12:27 ` G.B.
2015-07-20 12:28 ` G.B.
2015-07-20 12:37 ` Mark Carroll
2015-07-20 12:47 ` gautier_niouzes
2015-07-29 8:16 ` Fernando Arroyo
2015-07-29 8:30 ` Jacob Sparre Andersen
2015-07-29 14:59 ` Fernando Arroyo
2015-07-29 16:03 ` Niklas Holsti [this message]
2015-07-29 20:00 ` gautier_niouzes
2015-07-31 10:40 ` Fernando Arroyo
-- strict thread matches above, loose matches on Subject: below --
1997-11-14 0:00 Pascal to Ada Converter R. Karl Werner
1992-01-08 16:55 Pascal to Ada converter email!swdsrv.edvz.univie.ac.at!news.tu-graz.ac.at!fstgds03!ggt
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox