[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] EOF problem
From: |
Peter Bex |
Subject: |
Re: [Chicken-users] EOF problem |
Date: |
Tue, 7 Dec 2010 22:30:27 +0100 |
User-agent: |
Mutt/1.4.2.3i |
On Tue, Dec 07, 2010 at 04:18:49PM -0500, David Dreisigmeyer wrote:
> Thank you Alan and Peter - that took care of it.
>
> csc is also complaining about, e.g., int32_t , uint , uint64_t ,
> __attribute__ and
>
> #define CL_API_SUFFIX__VERSION_1_0 AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER
The problem with int32_t and such might be caused by the fact you don't
have the #include in the foreign-parse block so it doesn't see the
definitions in order to be able to convert the int32_t to its real type.
About __attribute__: perhaps the easyffi egg's C parser can't handle that?
You could try manually wrapping up the binding through the FFI.
Also, AFAIK easyffi is now deprecated in favor of the "bind" egg.
Possibly its parser is capable of parsing this.
Cheers,
Peter
--
http://sjamaan.ath.cx
--
"The process of preparing programs for a digital computer
is especially attractive, not only because it can be economically
and scientifically rewarding, but also because it can be an aesthetic
experience much like composing poetry or music."
-- Donald Knuth