comp.lang.ada
 help / color / mirror / Atom feed
From: Florian Weimer <fw@deneb.enyo.de>
Subject: Re: Q: Interfacing C/ADA: Indirect Calls
Date: 18 Apr 2001 13:46:51 +0200
Date: 2001-04-18T13:46:51+02:00	[thread overview]
Message-ID: <87n19emnv8.fsf@deneb.enyo.de> (raw)
In-Reply-To: 3ADD8E81.CE65B92A@uundz.de

Tilman Gloetzner <Tilman.Gloetzner@uundz.de> 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.



  reply	other threads:[~2001-04-18 11:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-18 12:54 Q: Interfacing C/ADA: Indirect Calls Tilman Gloetzner
2001-04-18 11:46 ` Florian Weimer [this message]
2001-04-18 13:56   ` Tilman Glotzner
2001-04-18 14:53     ` Marin David Condic
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox