[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] invalid typedef syntax using bind

From: Vilson Vieira
Subject: [Chicken-users] invalid typedef syntax using bind
Date: Thu, 20 Jan 2011 02:37:26 -0200


I'm trying to apply bind to some C struct like:

(bind "typedef struct foo { int x; } foo;")

I got the "invalid typedef syntax" error.

I replaced the typedef form with something like:

(bind "struct foo { int x; };
   typedef struct foo foo;")

It works but now I'm getting a C error "invalid application of
‘sizeof’ to incomplete type ‘struct PaHostApiInfo’". I think I really
need the typedef on the original form.

Any suggestion?


Vilson Vieira


((( )))

((( )))

reply via email to

[Prev in Thread] Current Thread [Next in Thread]