comp.lang.ada
 help / color / mirror / Atom feed
* Telesoft Unchecked_Conversion
@ 2008-05-07  1:10 jason.height
  2008-05-07  5:40 ` Keith Thompson
  0 siblings, 1 reply; 2+ messages in thread
From: jason.height @ 2008-05-07  1:10 UTC (permalink / raw)


Ok, here goes.

I doubt that anyone can help me out here, but i am going to ask anyhow
(this is my last minute hail mary pass)

I am looking at a porting exercise moving from v1a of the Telesoft
SunOS e68k cross compiler moving to GNAT.

Things look ok EXCEPT with the messages that are sent over the LAN. I
was hoping that the ported application could be written such that it
could communicate with the older software. Unfortunately the LAN
messages are binary records which have been converted to byte arrays
using Telesofts implementation of Unchecked_Conversion.

A few of these have representation clauses which i have therefore been
able to mimic in my own procedures.

Some of these do not have any representation clause, leaving it up to
the compiler to define the layout. Which it seems to do in some non-
sensical way!

Here is my hail mary:

Does anyone have access to the algorithm that the Telesoft compiler
used to layout its records in memory when using Unchecked_Conversion?

My thinking is that it would be easier to implement the algorithm,
rather than reverse engineering each record.

Jason




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-05-07  5:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-07  1:10 Telesoft Unchecked_Conversion jason.height
2008-05-07  5:40 ` Keith Thompson

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