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=2.1 required=5.0 tests=BAYES_05,INVALID_DATE, MSGID_SHORT,REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 Path: utzoo!attcan!uunet!seismo!esosun!hyland From: hyland@esosun.UUCP (Steve Hyland) Newsgroups: comp.lang.ada Subject: Re: Modifications to the SAIC Ada binding to the X Window System for VADS Message-ID: <213@kvasir.esosun.UUCP> Date: 24 Jun 88 20:59:55 GMT References: <8806191006.AA01992@ajpo.sei.cmu.edu> <3660008@wdl1.UUCP> Reply-To: hyland@kvasir.UUCP (Steve Hyland) Organization: Science Applications Internations Corp, San Diego List-Id: In article <3660008@wdl1.UUCP> marie@wdl1.UUCP (Marie T. Minogue) writes: >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 The keyword here is "warning". The code is compiled, however. The LRM reference here basically says that the compiler implementor is free to place whatever restrictions they want on pragma INTERFACE. By the way, the types it is complaining about ARE scalar or access types. They are "in" parameters. They also are private types. I have no idea why VADS gives you the message. Ask them. > or am I using the wrong compiler? I won't touch that statement with a ten foot pole. ;-) Steve Hyland SAIC