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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8b0d028e57f221d4 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-11-06 06:48:47 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!wn14feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!attbi_s51.POSTED!not-for-mail From: "Steve" Newsgroups: comp.lang.ada References: Subject: Re: Trying to import a C function X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: NNTP-Posting-Host: 12.211.58.135 X-Complaints-To: abuse@comcast.net X-Trace: attbi_s51 1068130127 12.211.58.135 (Thu, 06 Nov 2003 14:48:47 GMT) NNTP-Posting-Date: Thu, 06 Nov 2003 14:48:47 GMT Organization: Comcast Online Date: Thu, 06 Nov 2003 14:48:47 GMT Xref: archiver1.google.com comp.lang.ada:2142 Date: 2003-11-06T14:48:47+00:00 List-Id: "Preben Randhol" 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