|
From: | Brandon J. Van Every |
Subject: | [Chicken-users] Re: silex dies, probably __int64 problem |
Date: | Wed, 31 May 2006 14:09:46 -0700 |
User-agent: | Thunderbird 1.5.0.2 (Windows/20060308) |
Brandon J. Van Every wrote:
silex dies on both MinGW and VC++ builds with CMake. I think it is a bug in easyffi.l. It is looking for int64_t. But that's not what's used on MinGW and VC++ as per chicken.h, they're using __int64. So my layman's guess is easyffi.l is supposed to have __int64 somewhere, and its absence causes silex to crash and burn.
I tried adding typedef __int64 int64_t to chicken.h. I also tried adding __int64 to easyffi.l. Neither approach worked. I would appreciate advice or a resolution to this problem as it's holding up my builds.
There's also a meta-issue of how can things be tested on more platforms before changes are put in Darcs. "It breaks Windows" is going to keep happening unless there's some kind of Windows testing going on. Yeah, I suppose I'm that guinea pig. I would just like to see trivial problems dealt with quickly so they don't slow down my progress on the build. Meanwhile I will explore how to unpatch my own Darcs repository to remove the integer64 support. I imagine that will depend on how "cleanly" the original patch was specified, whether it's only integer64 or includes other stuff too.
Cheers, Brandon Van Every
[Prev in Thread] | Current Thread | [Next in Thread] |