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.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable 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 11:46:04 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!skynet.be!skynet.be!freenix!enst.fr!melchior!cuivre.fr.eu.org!melchior.frmug.org!not-for-mail From: "Beard, Frank Randolph CIV" Newsgroups: comp.lang.ada Subject: RE: socket, pipe Date: Wed, 5 Nov 2003 14:43:21 -0500 Organization: Cuivre, Argent, Or Message-ID: NNTP-Posting-Host: lovelace.ada-france.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: melchior.cuivre.fr.eu.org 1068061458 58908 80.67.180.195 (5 Nov 2003 19:44:18 GMT) X-Complaints-To: usenet@melchior.cuivre.fr.eu.org NNTP-Posting-Date: Wed, 5 Nov 2003 19:44:18 +0000 (UTC) To: "ghostie" , Return-Path: X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0 content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: socket, pipe Thread-Index: AcOj0slbCwZJjqlpRqmkam1xOuinWgAAMwNA X-OriginalArrivalTime: 05 Nov 2003 19:43:21.0934 (UTC) FILETIME=[11D996E0:01C3A3D5] X-Virus-Scanned: by amavisd-new-20030616-p5 (Debian) at ada-france.org X-BeenThere: comp.lang.ada@ada-france.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Gateway to the comp.lang.ada Usenet newsgroup List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Xref: archiver1.google.com comp.lang.ada:2102 Date: 2003-11-05T14:43:21-05:00 Yep, that's a problem. Most of what you're going to find is, or has been updated to, Ada 95. Ada 95 is, for the most part, backwards compatible with Ada 83, and of course Ada 83 will not recognize the additions to the language. Hierarchical library units were added to Ada 95. Pragma Import replaced Pragma Interface. You could take the Win32 bindings, take only the part you need from it, retrofit it to Ada 83, and then put it in your own small binding package. Frank -----Original Message----- From: ghostie [mailto:eieio@coastalnet.com] Sent: Wednesday, November 05, 2003 13:54 To: comp.lang.ada@ada-france.org Subject: Re: socket, pipe 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)?=20 For instance, my compiler won't even accept this: with Ada.Text_IO; _______________________________________________ comp.lang.ada mailing list comp.lang.ada@ada-france.org http://www.ada-france.org/mailman/listinfo/comp.lang.ada