comp.lang.ada
 help / color / mirror / Atom feed
From: Robert Dewar <robert_dewar@my-dejanews.com>
Subject: Re: LRM on passing data *from* C
Date: 1999/05/22
Date: 1999-05-22T00:00:00+00:00	[thread overview]
Message-ID: <7i59j8$tdp$1@nnrp1.deja.com> (raw)
In-Reply-To: dale-2205990843320001@r1021c-20.ppp.cs.rmit.edu.au

In article <dale-2205990843320001@r1021c-20.ppp.cs.rmit.edu.au>,
  dale@cs.rmit.edu.au (Dale Stanbrough) wrote:
> The Ada language can't say anything about how C compilers
> should operate. For this you have to look to the C language
> standard.

That's misleading. The Ada standard *does* say that if you
export an Ada procedure with convention C, then it must have
a calling sequence compatible with C (it is up to the
implementor to ensure this)

> For your particular application you'll have to examine the C
> calling sequence for your particular compiler, and fiddle
> about with the Ada

This absolutely shoudl NOT be necessary in a well written
Ada 95 compiler.
> code to make it match.
>
> Dale
>


--== Sent via Deja.com http://www.deja.com/ ==--
---Share what you know. Learn what you don't.---




  reply	other threads:[~1999-05-22  0:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-05-21  0:00 LRM on passing data *from* C dennison
1999-05-22  0:00 ` Dale Stanbrough
1999-05-22  0:00   ` Robert Dewar [this message]
1999-05-22  0:00 ` Robert Dewar
1999-05-22  0:00   ` Dale Stanbrough
1999-05-22  0:00     ` Robert Dewar
replies disabled

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