comp.lang.ada
 help / color / mirror / Atom feed
From: Robert A Duff <bobduff@shell01.TheWorld.com>
Subject: Re: right compilation unit for C as main?
Date: Tue, 18 Dec 2012 12:14:59 -0500
Date: 2012-12-18T12:14:59-05:00	[thread overview]
Message-ID: <wcczk1bs2ng.fsf@shell01.TheWorld.com> (raw)
In-Reply-To: b1d1bbac-0b53-4848-ae3c-92d85dc73df6@googlegroups.com

Patrick <patrick@spellingbeewinnars.org> 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



      parent reply	other threads:[~2012-12-18 17:14 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-18 15:02 right compilation unit for C as main? Patrick
2012-12-18 15:28 ` Brian Drummond
2012-12-18 15:42   ` Patrick
2012-12-18 17:13   ` Robert A Duff
2012-12-18 23:04     ` Brian Drummond
2012-12-19  3:04     ` Simon Wright
2012-12-19  8:00       ` Niklas Holsti
2012-12-19 16:31       ` Robert A Duff
2012-12-18 17:14 ` Robert A Duff [this message]
replies disabled

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