comp.lang.ada
 help / color / mirror / Atom feed
From: jerry@jvdsys.stuyts.nl
Subject: Re: Interfacing to void *
Date: 1999/07/20
Date: 1999-07-20T00:00:00+00:00	[thread overview]
Message-ID: <FF6yr0.58@stuyts.nl> (raw)
In-Reply-To: 379412E4.9B0E98CF@worldnet.att.net

William Starner <billeug@worldnet.att.net> wrote:

: I fear that many
: bugs are going to appear the first time this gets compiled on a non-GNAT
: compiler, with stuff like that (as GNAT uses C convention for almost everything
: by default.)

a) No, pragma Convention C and Interfaces.C are both standard Ada.

b) GNAT, being part of the gcc suite, makes a point of have the basic
   types laid out like the equivalent C types, where appropriate. But this
   does _not_ mean that GNAT is somehow using a C convention for its basic
   types. 
   
-- 
-- Jerry van Dijk | Leiden, Holland
-- Team Ada       | jdijk@acm.org
-- see http://stad.dsl.nl/~jvandyk




      reply	other threads:[~1999-07-20  0:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-07-18  0:00 Interfacing to void * William Starner
1999-07-18  0:00 ` Keith Thompson
1999-07-19  0:00 ` jerry
1999-07-19  0:00   ` William Starner
1999-07-20  0:00     ` jerry [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