From: Gautier Write-only <gautier@fakeaddress.nil>
Subject: Re: GNAT Error - Subunit not found
Date: Fri, 20 Jan 2006 04:56:58 +0100
Date: 2006-01-20T04:56:58+01:00 [thread overview]
Message-ID: <43D05F8A.C4A17EE@fakeaddress.nil> (raw)
In-Reply-To: 1137715719.821015.209390@o13g2000cwo.googlegroups.com
deepblue2@gmail.com:
> Hello, I am getting this compiler error for the Ada code. I am trying
> to do this:
>
> package body temp is
>
> procedure temp1 is separate;
>
> than in a file called temp2.adb
>
> separate(temp)
> procedure temp1 is
> begin
> end temp
>
> I am getting compiler error..does any know how would I compile this?
GNAT awaits by default a certain file name for each Ada (sub)unit name.
If you read the error message, it even says which file name it expects:
temp.adb:3:02: warning: subunit "temp.temp1" in file "temp-temp1.adb" not found
HTH
______________________________________________________________
Gautier -- http://www.mysunrise.ch/users/gdm/index.htm
Ada programming -- http://www.mysunrise.ch/users/gdm/gsoft.htm
NB: For a direct answer, e-mail address on the Web site!
next prev parent reply other threads:[~2006-01-20 3:56 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-20 0:08 GNAT Error - Subunit not found deepblue2
2006-01-20 0:24 ` John
2006-01-20 0:35 ` deepblue2
2006-01-20 9:48 ` Georg Bauhaus
2006-01-20 3:56 ` Gautier Write-only [this message]
2006-01-20 8:46 ` Adrien Plisson
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox