 |
» |
|
 |
|
 |

Copyright (c) Digital Equipment Corporation 1996, 1998. All rights reserved.
PRODUCT: DIGITAL DEC PL/I for OpenVMS Alpha, Version 4.0A-1
DIGITAL VAX PL/I, Version 3.5-124
OP/SYS: DIGITAL OpenVMS Alpha, Version 6.2
DIGITAL OpenVMS VAX, Version 6.2
SOURCE: Digital Equipment Corporation
SYMPTOM:
The PL/I compiler uses packed alignment by default. The /ALIGN qualifier
(or the /DATA qualifier for DEC PL/I for OpenVMS Alpha) may be used to
specify the alternative natural alignment.
Some of the include modules in SYS$LIBRARY:PLI$STARLET.TLB declare
structures which have a different layout than what was intended if
compiled with natural alignment. For example:
$ TYPE test.pli
%include $fabdef;
test : procedure options(main);
declare 1 fab like fabdef;
put edit('size(fab) = ', size(fab))(a,f(3),skip);
end test;
$ PLI test
$ LINK test
$ RUN test
size(fab) = 80
$ PLI/align test ! or, OpenVMS Alpha only, $ pli/data test
$ LINK test
$ RUN test
size(fab) = 104
DIGITAL RESPONSE:
UniPrise[TM] Engineering has acknowledged this problem and plans to
address it in a future release.
WORKAROUND:
Check if the build procedures uses the /ALIGN or /DATA qualifiers.
Compile with the default packed alignment instead.
[TM] UniPrise and the UniPrise logo are trademarks of UniPrise Systems
Incorporated.
All other trademarks and registered trademarks are the property of
their respective owners.
|
buy online or call 1.800.AT.COMPAQ
|
|