[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

2212.0. "ADA language definition files for DECWindows" by SCOTMN::WOOD (Richard Wood - UK Workstation Support DTN 833 -3801) Tue Feb 06 1990 04:40

Hi,

I have a customer who has tried compiling the language definition files
for ADA under VMS v5.3/ADA v2.0, specifically he gets errors when
compiling DECW$X_.ADA :-

 
 6180           (VALUE, REFERENCE, REFERENCE, REFERENCE, REFERENCE, REFERENCE, R
EFERENCE, REFERENCE, REFERENCE, REFERENCE,
.................1
%ADAC-W-NOT_VALUE_PASSA, (1) STATUS at line 6162 cannot be passed by the VALUE
        mechanism [LRM 13.9a.1.2]

 6177       pragma IMPORT_PROCEDURE (CREATE_IMAGE, "x$create_image",
............1
%ADAC-W-PRAGIGNFORENTIT, (1) Pragma IMPORT_PROCEDURE ignored for procedure
        specification CREATE_IMAGE at line 6161
%ADAC-W-ENDDIAGS, Ada compilation completed with 2 diagnostics

Does anybody have any information on this problem, and could anybody
correct them.

Thanks for any help

Rich
T.RTitleUserPersonal
Name
DateLines
2212.1Try this....ADTSHR::TALCOTTTue Feb 06 1990 08:2015
Change:
pragma IMPORT_PROCEDURE (CREATE_IMAGE, "x$create_image",
To:
pragma IMPORT_VALUED_PROCEDURE (CREATE_IMAGE, "x$create_image",

You may also see a problem with the source line starting with:
pragma IMPORT_VALUED_PROCEDURE (CREATE_GLYPH_CURSOR, "x$create_glyph_cursor",

being too long to compile. I simply removed the spaces following the commas for
that one.

The folks who are in a position to make the changes in the future are aware of
these problems.

						Trace
2212.2ThanksSCOTMN::WOODRichard Wood - UK Workstation Support DTN 833 -3801Wed Feb 14 1990 05:044
Thanks for the info, at least it compiles now

Rich