[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Where to place Ada (Gnat) libraries



jmarant@nerim.net wrote:
>  I have a question: whydo we have to keep .adb files in the package
>  since .ads files are meant to contain the interface? (well, indeed
>  except from generics).

I don't know that we 'have to', but one reason to do so is that gnat can
inline subprograms across unit boundaries (-gnatn switch), but naturally
it needs access to the .adb file to do so. This is irrelevant unless the
package in question actually marks some subprograms as inline, of
course.

-M-


-- 
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: