Matthew Woodcraft <[EMAIL PROTECTED]> writes: > [EMAIL PROTECTED] 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.
So, better add .adb files in case I guess. -- Jérôme Marant http://marant.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]