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,4d062d5c58234698 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.66.80.199 with SMTP id t7mr425820pax.40.1355850899809; Tue, 18 Dec 2012 09:14:59 -0800 (PST) Path: s9ni52021pbb.0!nntp.google.com!news.glorb.com!xmission!newsswitch.lcs.mit.edu!nntp.TheWorld.com!.POSTED!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: right compilation unit for C as main? Date: Tue, 18 Dec 2012 12:14:59 -0500 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 X-Trace: pcls6.std.com 1355850899 29388 192.74.137.71 (18 Dec 2012 17:14:59 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Tue, 18 Dec 2012 17:14:59 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:bi201V89R9SUEwkZGxDJIE8l67c= Content-Type: text/plain; charset=us-ascii Date: 2012-12-18T12:14:59-05:00 List-Id: Patrick writes: >...I tried to write the Ada code inside a task but I ended up with an >error that a task body is not a compilation unit. Right. You declare library packages, and put your task types and bodies inside those packages. - Bob