comp.lang.ada
 help / color / mirror / Atom feed
From: tap@srcsip.UUCP (Thomas A Peterson)
Subject: Re: Modifications to the SAIC Ada binding to the X Window System for VADS
Date: 24 Jun 88 13:17:30 GMT	[thread overview]
Message-ID: <5348@altaira.srcsip.UUCP> (raw)


In response to :

>>Path: srcsip!ems!amdahl!ames!sgi!wdl1!marie
>>From: marie@wdl1.UUCP (Marie T. Minogue)
>>References: <8806191006.AA01992@ajpo.sei.cmu.edu>

>>If this is the modification for the VADS compiler, why does my VADS
>>SUN 3 version 5.5 compiler reject these changes?
>>for the lines like :
>>   pragma INTERFACE (C, Xcopycolormapandfree, "_XCopyColormapAndFree");

>>I get the error :

>> 482:  pragma INTERFACE (C, Xcopycolormapandfree, "_XCopyColormapAndFree");
>>A --------------------------^
>>A:warning: RM 13.9(4): parameter types must be scalar, access or SYSTEM.ADDRESS
>>A:warning: RM 13.9(4): parameter types must be scalar, access or SYSTEM.ADDRESS
>>A:warning: RM 13.9(4): result type must be scalar, access or SYSTEM.ADDRESS

>>This is true for all of the pragmas.

>>The object being pointed to is a private type which is
>>declared as an acess type in the private part of the package.

>>DID I not receive something or am I using the wrong compiler?


The reason you get these warnings is because the objects being pointed
to are private types, as you figured out.  VADS must make the
assumption that they are of 32 bit integers after stating the warning.
Anyway, the binding does work even though there are warnings.  The
only ways I see to get rid of the warnings is to not have the private
types or to move the X_Windows_Interface package within the scope of
the private types.

             reply	other threads:[~1988-06-24 13:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1988-06-24 13:17 Thomas A Peterson [this message]
1988-07-04  9:51 ` Modifications to the SAIC Ada binding to the X Window System for VADS IBRAHIM Bertrand
  -- strict thread matches above, loose matches on Subject: below --
1988-06-19 10:06 Karl Nyberg
1988-06-23 20:54 ` Marie T. Minogue
1988-06-24 20:59   ` Steve Hyland
1988-06-16 14:37 Thomas A Peterson
replies disabled

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