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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c59de49f7d99d0b5 X-Google-Attributes: gid103376,public From: Markus Kuhn Subject: Re: Difficulty compiling ada program! Date: 1998/07/14 Message-ID: <35AB27C9.368FBFC@cl.cam.ac.uk>#1/1 X-Deja-AN: 371286984 Content-Transfer-Encoding: 7bit References: <900407099.23331.0.nnrp-10.c2de523e@news.demon.co.uk> Content-Type: text/plain; charset=us-ascii Organization: Cambridge University, Computer Laboratory Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 1998-07-14T00:00:00+00:00 List-Id: 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: