From: "Tom Griest" <griest-tom@cs.yale.edu>
Subject: Re: linking problem when using sockets with gnat 3.10p1 for NT
Date: 1998/07/23
Date: 1998-07-23T00:00:00+00:00 [thread overview]
Message-ID: <01bdb5d6$db0ad170$50c809c0@Saturn> (raw)
In-Reply-To: 6p5k11$iof$1@cadmium.aware.nl
Frans Bouwmans <fbouwmans@spiditel.nl> wrote in article <6p5k11$iof$1@cadmium.aware.nl>...
> I'm trying to use sockets in ada with gnat 3.10
[lots-o-snips]
> function C_Listen (S, Backlog : C.int) return C.int;
>
> pragma Import (C, C_Listen, "listen");
WinSock is a WinAPI (as opposed to a "C" library) which means
that it uses the "Stdcall" interface rather than "C".
Try: pragma Import (Stdcall, C_Listen, "listen");
-Tom Griest
next prev parent reply other threads:[~1998-07-23 0:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-07-22 0:00 linking problem when using sockets with gnat 3.10p1 for NT Frans Bouwmans
1998-07-23 0:00 ` Tom Griest [this message]
1998-07-28 0:00 ` Frans Bouwmans
1998-07-23 0:00 ` Jerry van Dijk
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox