comp.lang.ada
 help / color / mirror / Atom feed
From: Florian Weimer <fw@deneb.enyo.de>
Subject: Re: pointer in C & in  Ada
Date: Wed, 08 Aug 2001 18:52:09 +0200
Date: 2001-08-08T18:52:09+02:00	[thread overview]
Message-ID: <878zgujxza.fsf@deneb.enyo.de> (raw)
In-Reply-To: Pmcc7.2744$NJ6.10744@www.newsranger.com

Ted Dennison<dennison@telepath.com> writes:

>>You can use chars_ptr instead.  It is guaranteed to have the same
>>representation as void * in C (not by the Ada standard, but by the C
>>standard).
>
> ..assuming the compiler used for the C code bothers to follow that
> standard.

If the compiler is broken, all bets are off anyway.  For this
particular issue, I think it's highly unlikely you will find a
compiler which gets this wrong because historically, char * was used
in places where now, you are supposed to use void *.



  reply	other threads:[~2001-08-08 16:52 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-07 22:39 pointer in C & in Ada Lin
2001-08-07 23:05 ` Didier Utheza
2001-08-08  9:29   ` Florian Weimer
2001-08-08 14:52     ` Ted Dennison
2001-08-08 16:52       ` Florian Weimer [this message]
2001-08-09 16:54     ` Didier Utheza
2001-08-13 15:47       ` lange92
2001-08-07 23:31 ` tmoran
2001-08-08  3:14 ` DuckE
2001-08-08  9:32 ` Des Walker
2001-08-08 10:40   ` Florian Weimer
2001-08-08 18:03   ` tmoran
2001-08-08 14:59 ` Ted Dennison
2001-08-08 16:53   ` Florian Weimer
2001-08-08 18:03   ` tmoran
2001-08-08 23:29   ` Des Walker
2001-08-09 20:21     ` Florian Weimer
replies disabled

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