From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d0fcd3db00d6036 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-10-01 13:15:54 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.icl.net!newsfeed.fjserv.net!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: "extern" procedure in ada Date: 01 Oct 2002 20:57:59 +0100 Organization: Pushface Sender: simon@smaug Message-ID: References: NNTP-Posting-Host: pogner.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.demon.co.uk 1033503353 29837 62.49.19.209 (1 Oct 2002 20:15:53 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Tue, 1 Oct 2002 20:15:53 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 Xref: archiver1.google.com comp.lang.ada:29445 Date: 2002-10-01T20:57:59+01:00 List-Id: "Bernard Azria" writes: > I decided to use a pragma import (ada, ..) and to ask people > building the library to define in it, the coreponsding pragma export > ( ada, .. ). In this way, I shouldn't have to "with " any file from > the library. What happens about elaboration? I think you would have a _lot_ of trouble with GNAT if you approach this in a naive way. Does the library come with an entry called something_adainit or some such, that you must call before you use any of its facilities? I would be a bit suspicious if it doesn't.