From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: * X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_00,INVALID_MSGID, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,31b048c5bb0fb3ed X-Google-Attributes: gid103376,public From: Ted Dennison Subject: Re: Can someone explain this to me please? Date: 1999/08/06 Message-ID: <7ofc8i$lf9$1@nnrp1.deja.com>#1/1 X-Deja-AN: 509672875 References: X-Http-Proxy: 1.0 x38.deja.com:80 (Squid/1.1.22) for client 204.48.27.130 Organization: Deja.com - Share what you know. Learn what you don't. X-Article-Creation-Date: Fri Aug 06 19:15:41 1999 GMT X-MyDeja-Info: XMYDJUIDtedennison Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.6 [en] (WinNT; I) Date: 1999-08-06T00:00:00+00:00 List-Id: In article , "J. Marshall" 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.