comp.lang.ada
 help / color / mirror / Atom feed
From: "Beard, Frank Randolph CIV" <frank.beard@navy.mil>
To: "ghostie" <eieio@coastalnet.com>, <comp.lang.ada@ada-france.org>
Subject: RE: socket, pipe
Date: Wed, 5 Nov 2003 14:43:21 -0500
Date: 2003-11-05T14:43:21-05:00	[thread overview]
Message-ID: <mailman.286.1068061457.25614.comp.lang.ada@ada-france.org> (raw)

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)? 
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



             reply	other threads:[~2003-11-05 19:43 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-05 19:43 Beard, Frank Randolph CIV [this message]
2003-11-05 21:14 ` socket, pipe tmoran
  -- strict thread matches above, loose matches on Subject: below --
2003-11-05 18:49 Beard, Frank Randolph CIV
2003-11-04 14:45 ghostie
2003-11-04 15:14 ` Ole-Hjalmar Kristensen
2003-11-04 15:33 ` Marius Amado Alves
2003-11-04 17:45   ` Warren W. Gay VE3WWG
2003-11-04 18:48 ` John Woodruff
2003-11-05  3:27 ` Steve
2003-11-05  5:24   ` tmoran
2003-11-05  9:44 ` Pascal Obry
2003-11-05 12:31 ` Marin David Condic
2003-11-05 14:50   ` Steve
2003-11-05 15:19   ` Steve
2003-11-05 13:45 ` ghostie
2003-11-05 18:54   ` ghostie
2003-11-05 20:41     ` Robert Spooner
2003-11-05 20:18   ` Martin Dowie
2003-11-05 20:23     ` Martin Dowie
2003-11-05 13:54 ` ghostie
2003-11-05 14:26   ` Marius Amado Alves
2003-11-05 23:55   ` Jacob Sparre Andersen
replies disabled

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