comp.lang.ada
 help / color / mirror / Atom feed
From: Ted Dennison <dennison@telepath.com>
Subject: Re: Can someone explain this to me please?
Date: 1999/08/06
Date: 1999-08-06T00:00:00+00:00	[thread overview]
Message-ID: <7ofc8i$lf9$1@nnrp1.deja.com> (raw)
In-Reply-To: rqm730dlkur11@corp.supernews.com

In article <rqm730dlkur11@corp.supernews.com>,
  "J. Marshall" <a_revelation@hotmail.com> wrote:
> I am a C programmer, recently assigned to an Ada project due to staff
> problems here.
Welcome to the light side of the force. :-)

> The project, originally built in 1492 using Verdix on a VAX, it is now

Hmmm. I guess Columbus' crew had to do something during that long voyage
across the Atlantic.

> being ported to Green Hills AdaMULTI version 1.8.9 running on a SunOS
> host, for a VMEbus embedded target running VxWorks.
> Example of some of the "old" code used...
>
> COMMAND_REG_PTR :
>    COMMAND_REG_PTR_TYPE :=
>       TO_CMD_PTR( SYSTEM.ADDRESS'ref( BOARD_CONFIGURATION ) );
>
> ..to which the compiler responds with
>
>    UNRECOGNIZED ATTRIBUTE "ref"

"'ref" was a compiler-specific attribute for the VADS compilers. It
should be described in detail in appendix F of your Verdix compiler
documentation. I highly suggest reading that.

To help much more, we'd probably need to see what the type of
"BOARD_CONFIGURATION" is, and how "COMMAND_REG_PTR_TYPE" is defined.

--
T.E.D.


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




  reply	other threads:[~1999-08-06  0:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-08-06  0:00 Can someone explain this to me please? J. Marshall
1999-08-06  0:00 ` Ted Dennison [this message]
1999-08-07  0:00 ` David Kristola
1999-08-09  0:00   ` J. Marshall
replies disabled

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