From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: Why doesn't an access to an imported C function work?
Date: 1997/08/20
Date: 1997-08-20T00:00:00+00:00 [thread overview]
Message-ID: <dewar.872111726@merv> (raw)
In-Reply-To: 33FAF8F1.431@mail.connect.usq.edu.au
An access to subprogram value cannot point to subprograms with an
incompatible convention. The diagnostic from GNAT is:
25. Random := Random_Gaussian'Access;
|
>>> subprogram has invalid convention for context
You need to use pragma Convention to specify the appropriate convention.
prev parent reply other threads:[~1997-08-20 0:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-08-21 0:00 Why doesn't an access to an imported C function work? Matthew Kennedy
1997-08-20 0:00 ` Robert Dewar [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox