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,ef14853fdea3d0ea X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-04-18 04:34:29 PST Path: supernews.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!151.189.0.75!newsfeed.germany.net!newsfeed2.easynews.net!easynews.net!news.cid.net!news.enyo.de!news1.enyo.de!not-for-mail From: Florian Weimer Newsgroups: comp.lang.ada Subject: Re: Q: Interfacing C/ADA: Indirect Calls Date: 18 Apr 2001 13:46:51 +0200 Organization: Enyo's not your organization Message-ID: <87n19emnv8.fsf@deneb.enyo.de> References: <3ADD8E81.CE65B92A@uundz.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Xref: supernews.google.com comp.lang.ada:6968 Date: 2001-04-18T13:46:51+02:00 List-Id: Tilman Gloetzner writes: > use_indirect.adb:10:08: subprogram has invalid convention for context > use_indirect.adb:16:08: subprogram has invalid convention for context I think you have to insert pragma Convention (C, Indirect_Func); to change the convention of the access-to-subprogram type.