From: "Raymond C. Rawa" <rcr@b.com>
Subject: using 'address to make indrect calls
Date: 1999/06/29
Date: 1999-06-29T00:00:00+00:00 [thread overview]
Message-ID: <3779194C.45EA@b.com> (raw)
I'm getting a scary warning message from VADSself for SPARC Solaris 2.3,
Version 6.2 when I compile the example below.
Can someone please explain what is meant by an "uplevel reference"? And
when I should be concerned?
Thanks,
Raymond C. Rawa
*********************************** test.a
***********************************
1:generic
2:package G_PKG is
3:end G_PKG;
4:
5:with system;
6:package body G_PKG is
7: procedure a is
8: loc : SYSTEM.Address;
9: begin
10: loc := a'Address;
11: end a;
12:end G_PKG;
13:
14:with G_PKG;
15:procedure test is
16: package g is new G_PKG;
A --------------^
A:warning: using this address to make an indirect call may produce
unpredictable results if the subprogram makes uplevel references.
A:warning: at line: 10 column: 14 within generic g_pkg in file:
/MV22/system/rawa/jass_3.2/jass_stubs.ss/dev.wrk/test/test.a
17:begin
18: null;
19:end test;
next reply other threads:[~1999-06-29 0:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-06-29 0:00 Raymond C. Rawa [this message]
1999-06-30 0:00 ` using 'address to make indrect calls Pascal MALAISE
1999-06-30 0:00 ` Robert Dewar
1999-07-01 0:00 ` Raymond C. Rawa
1999-07-01 0:00 ` Robert A Duff
1999-07-01 0:00 ` Dale Stanbrough
1999-07-02 0:00 ` Robert A Duff
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox