From: Adrien Plisson <aplisson-news2@stochastique.net>
Subject: Re: GNAT Error - Subunit not found
Date: Fri, 20 Jan 2006 09:46:29 +0100
Date: 2006-01-20T09:46:29+01:00 [thread overview]
Message-ID: <43d0a377$0$3795$ba620e4c@news.skynet.be> (raw)
In-Reply-To: <43D05F8A.C4A17EE@fakeaddress.nil>
Gautier Write-only wrote:
> 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
you may auto-generate a file with the expected filename using gnatchop.
it is easier than remembering the naming convention.
fichier temp2.adb:
-%<---------------------
separate( temp )
procedure temp1 is
begin
null;
end temp1;
->%---------------------
then:
D:\>gnatchop -p -w temp2.adb
splitting temp2.adb into:
temp-temp1.adb
--
rien
prev parent reply other threads:[~2006-01-20 8:46 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
2006-01-20 8:46 ` Adrien Plisson [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