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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,81bec3225bdccedb,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-09-01 17:15:48 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!newspump.monmouth.com!newspeer.monmouth.com!newsfeed.icl.net!newsfeed.fjserv.net!diablo.theplanet.net!newspeer1-gui.server.ntli.net!ntli.net!newsfep4-glfd.server.ntli.net.POSTED!53ab2750!not-for-mail From: "Dr. Adrian Wrigley" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Is All_Calls_Remote permitted in non DSA code? Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Date: Tue, 02 Sep 2003 01:15:47 +0100 NNTP-Posting-Host: 81.100.88.147 X-Complaints-To: abuse@ntlworld.com X-Trace: newsfep4-glfd.server.ntli.net 1062461748 81.100.88.147 (Tue, 02 Sep 2003 01:15:48 BST) NNTP-Posting-Date: Tue, 02 Sep 2003 01:15:48 BST Organization: ntl Cablemodem News Service Xref: archiver1.google.com comp.lang.ada:42049 Date: 2003-09-02T01:15:47+01:00 List-Id: Hi! (Continuing my monolog on issues linked to Annex E...) I have found that GNAT 3.15p generates code that won't run properly when calling subprograms in a unit marked "pragma All_Calls_Remote;" gnatmake builds the program fine, and then a Program_Error is raised at runtime at the point of call. I hadn't anticipated this. Adding an Annex E pragma shouln't stop normal compilation of the code, should it? Simply adding a "pragma Remote_Call_Interface;" doesn't stop normal operation. Thank you for your suggestions. -- Dr. Adrian Wrigley, Cambridge Exception message : Distribution support not installed in your environment For information on GLADE, contact Ada Core Technologies