From: "Steve" <nospam_steved94@comcast.net>
Subject: Re: Trying to import a C function
Date: Thu, 06 Nov 2003 14:48:47 GMT
Date: 2003-11-06T14:48:47+00:00 [thread overview]
Message-ID: <jbtqb.92859$ao4.278990@attbi_s51> (raw)
In-Reply-To: slrnbqk7aq.q3.randhol+valid_for_reply_from_news@kiuk0156.chembio.ntnu.no
"Preben Randhol" <randhol+valid_for_reply_from_news@pvv.org> wrote in
message
news:slrnbqk7aq.q3.randhol+valid_for_reply_from_news@kiuk0156.chembio.ntnu.no...
> Hi
[snip]
>
> Now what is the equivalent of unsigned long long int in Ada?
>
In GNAT on x86:
unsigned long long = Interfaces.Unsigned_64
You could define your own using a modular type definition, but isn't that
the reason the Interfaces module is there in the first place?
Steve
(The Duck)
> I don't find the info from florist, becuase it looks like you have to
> manage to compile it to generate the sources needed.
>
> System: Debian GNU/Linux on i686
>
> Thanks in advance.
>
> Preben
>
> --------------------------
> Compile error from florist:
>
> gcc -O2 -DVERSION="\"Florist-3.15p
(20020604)\"" -DLIBS="\"-lresolv -lnsl -lrt -lpthread \"" -o c-posix
c-posix.c -lresolv -lnsl -lrt -lpthread
> c-posix.c:6347:17: missing terminating " character
> c-posix.c: In function `create_c':
> c-posix.c:6348: error: syntax error before "POSIX_String"
> c-posix.c:6348: error: stray '\' in program
> c-posix.c:6348:32: missing terminating " character
> c-posix.c:6349: error: `n' undeclared (first use in this function)
> c-posix.c:6349: error: (Each undeclared identifier is reported only once
> c-posix.c:6349: error: for each function it appears in.)
> make: *** [c-posix] Error 1
next prev parent reply other threads:[~2003-11-06 14:48 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-06 10:07 Trying to import a C function Preben Randhol
2003-11-06 10:40 ` Lutz Donnerhacke
2003-11-06 16:05 ` Preben Randhol
2003-11-07 15:02 ` Adrian Knoth
2003-11-07 15:13 ` Preben Randhol
2003-11-10 14:39 ` Lutz Donnerhacke
2003-11-10 16:10 ` Preben Randhol
2003-11-10 16:45 ` Adrian Knoth
2003-11-06 14:48 ` Steve [this message]
2003-11-06 17:11 ` Warren W. Gay VE3WWG
2003-11-07 8:44 ` Preben Randhol
2003-11-10 17:39 ` Warren W. Gay VE3WWG
2003-11-11 8:26 ` Preben Randhol
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox