comp.lang.ada
 help / color / mirror / Atom feed
From: reason67@my-deja.com
Subject: Re: Unchecked_Conversion on different sized types -- problem?
Date: 2000/01/14
Date: 2000-01-14T00:00:00+00:00	[thread overview]
Message-ID: <85nhpj$1vt$1@nnrp1.deja.com> (raw)
In-Reply-To: 85mqht$6sq$1@fleetstreet.Austria.EU.net

In article <85mqht$6sq$1@fleetstreet.Austria.EU.net>,
  "Werner Pachler" <W.Pachler@mobilkom.at> wrote:
> I am a little surprised!
>
> As far as i remember UNCHECKED_CONVERSION refused the
> unchecked conversion between 2 different sized elements (Ada8x).

Depends on the compiler really. I have seen warnings and I have seen
errors in Ada83 in the case of 2 different sizes. I would think that if
the abstraction is "unchecked conversion" then checking size would be a
violation of that abstraction (albeit helpful).
---
Jeffrey Blatt


Sent via Deja.com http://www.deja.com/
Before you buy.




  parent reply	other threads:[~2000-01-14  0:00 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-13  0:00 Unchecked_Conversion on different sized types -- problem? Mike Silva
2000-01-13  0:00 ` reason67
2000-01-13  0:00 ` Jim Rogers
2000-01-13  0:00   ` Mike Silva
2000-01-13  0:00     ` James S. Rogers
2000-01-13  0:00 ` Bryce Bardin
2000-01-13  0:00   ` Mike Silva
2000-01-13  0:00     ` Mike Silva
2000-01-14  0:00       ` Bryce Bardin
2000-01-14  0:00         ` Mike Silva
2000-01-14  0:00   ` Matthew Heaney
2000-01-14  0:00 ` Wrap-Up (was Re: Unchecked_Conversion on different sized types -- problem?) Mike Silva
2000-01-15  0:00   ` Matthew Heaney
2000-01-15  0:00     ` Robert A Duff
2000-01-14  0:00 ` Unchecked_Conversion on different sized types -- problem? Werner Pachler
2000-01-14  0:00   ` Bryce Bardin
2000-01-14  0:00   ` reason67 [this message]
2000-01-14  0:00 ` Vladimir Olensky
2000-01-14  0:00 ` Jeff Carter
2000-01-14  0:00 ` Keith Thompson
2000-01-16  0:00   ` David A. Cobb
replies disabled

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