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,7df2baf73b28aa5d X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-11-05 12:51:01 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news.cis.ohio-state.edu!news.ems.psu.edu!news.aset.psu.edu!not-for-mail From: Robert Spooner Newsgroups: comp.lang.ada Subject: Re: socket, pipe Date: Wed, 05 Nov 2003 15:41:42 -0500 Organization: Penn State University, Center for Academic Computing Message-ID: <3FA96086.3090602@psu.edu> References: <56a4b188.0311040645.64f825f7@posting.google.com> <56a4b188.0311050545.77dc9cdf@posting.google.com> <56a4b188.0311051054.427f4788@posting.google.com> NNTP-Posting-Host: nat2.arl.psu.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: f04n12.cac.psu.edu 1068064903 56126 128.118.40.77 (5 Nov 2003 20:41:43 GMT) X-Complaints-To: usenet@ NNTP-Posting-Date: Wed, 5 Nov 2003 20:41:43 +0000 (UTC) To: ghostie User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en,de,fr-FR In-Reply-To: <56a4b188.0311051054.427f4788@posting.google.com> Xref: archiver1.google.com comp.lang.ada:2107 Date: 2003-11-05T15:41:42-05:00 List-Id: Look at pragma interface for Ada 83, or better yet, download the free GNAT Ada 95 compiler for Windows 2K. Bob ghostie wrote: > Could it be that these solutions require Ada 95, and I only have Ada > 83? For instance, I don't seem to have a "pragma import" that I can > use for a C call. It's not in documentation and I get these errors > when I try to use it: > *** 50W-8: Pragma IMPORT is unknown to the current implementation > *** 34W-8: Pragma IMPORT ignored > > I've also found some sample files that I can't even come close to > getting to compile, I wonder if it's the same problem (old version)? > For instance, my compiler won't even accept this: > with Ada.Text_IO; -- Robert L. Spooner Registered Professional Engineer Associate Research Engineer Intelligent Control Systems Department Applied Research Laboratory Phone: (814) 863-4120 The Pennsylvania State University FAX: (814) 863-7841 P. O. Box 30 State College, PA 16804-0030 rls19@psu.edu