comp.lang.ada
 help / color / mirror / Atom feed
From: Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>
Subject: Re: Difficulty compiling ada program!
Date: 1998/07/14
Date: 1998-07-14T00:00:00+00:00	[thread overview]
Message-ID: <35AB27C9.368FBFC@cl.cam.ac.uk> (raw)
In-Reply-To: 900407099.23331.0.nnrp-10.c2de523e@news.demon.co.uk

Ramsey Khair wrote:
> Can sombody please try compiling this source code as it keep saying "End of
> file expected" you have spilt the files where it says, if anybody has any
> luck please let me know!

Assuming you are using GNAT, you clearly have not read the manual:

  http://www.cl.cam.ac.uk/~mgk25/volatile/gnat_ug.html#SEC9
  http://www.cl.cam.ac.uk/~mgk25/volatile/gnat_ug.html#SEC67

You have to split your file up into an *.ads and an *.adb file,
and gnatchop can do this for you very easily as explained in the
GNAT User Guide.

Markus

-- 
Markus G. Kuhn, Security Group, Computer Lab, Cambridge University, UK
email: mkuhn at acm.org,  home page: <http://www.cl.cam.ac.uk/~mgk25/>




  reply	other threads:[~1998-07-14  0:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-07-14  0:00 Difficulty compiling ada program! Ramsey Khair
1998-07-14  0:00 ` Markus Kuhn [this message]
1998-07-14  0:00 ` Dale Stanbrough
1998-07-14  0:00 ` David C. Hoos, Sr.
replies disabled

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