Hi Jeremy,

This issue is fixed in the latest GIT sources. Sorry for the delay.

Slava

On Thu, Apr 30, 2009 at 5:02 PM, Jeremy <[email protected]> wrote:
> I have a struct foo:
>
> C-STRUCT: foo
>    { "char*" "name" }
>    { "bool"  "on" }
>    { "short" "parents" }
>    { "void*" "fn1" }
>    { "void*" "fn2" }
>    { "ushort" "flags" } ;
>
> On mac ppc, access to this via foo-<member> works fine. On 64 bit linux the
> offset the c++ library uses is different to what factor expects.
>
> The c++ code returns a struct where the "parents" value has an offset of
> 10. Factor expects an offset of 12:
>
>    "parents" "Class" offset-of   ===>  12
>
> I could work around this on a per platform basis, but I'm curious as to 
> whether
> there is a better way.
>
> Cheers,
>
> Jeremy
>
> ------------------------------------------------------------------------------
> Register Now & Save for Velocity, the Web Performance & Operations
> Conference from O'Reilly Media. Velocity features a full day of
> expert-led, hands-on workshops and two days of sessions from industry
> leaders in dedicated Performance & Operations tracks. Use code vel09scf
> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
> _______________________________________________
> Factor-talk mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to