[fluxus] guile 1.8?

Dave Griffiths dave at pawfal.org
Fri May 19 01:51:25 PDT 2006


> On 19/05/06, Artem Baguinski <artm at v2.nl> wrote:
>> On 11/05/06, Dave Griffiths <dave at pawfal.org> wrote:
>> > > On 11/05/06, Dave Griffiths <dave at pawfal.org> wrote:
>>
>> > > src/FluxusBinding.cpp:2260: error: invalid conversion from
>> > > 'scm_unused_struct* (*)()' to 'scm_unused_struct* (*)(...)'
>>
>> > hmm, well, it's my bad for doing a cast for each function, but I think
>> the
>> > guile api requires it as far as I can see. which compiler are you
>> using?
>> > try a proper static_cast?
>>
>> OK,  i solved that, i replaced each cast to (SCM (*)()) with (SCM
>> (*)(...)) which apparently is what what guile api requires judging
>> from the error mess.
>>
>> next problem, which i need to read C++ reference for, is with
>> build_plane (src/FluxusBinding.cpp:2282 and 2283). the error message
>> is "overloaded function with no contextual type information", as far
>> as i understand you have two versions of build_plane and compiler
>> can't figure which address you mean at those two lines. I'm gonna
>> learn how one should do that in C++ but I wonder how can it work for
>> you?
>
> figured out (aha, that's what static_cast is for!), fixed and committed.
> HEAD builds on osx for me now.

just checked the old version, and the segmented version wasn't calling the
right function - yay for pedantic compilers :)

cheers Artem,

dave





More information about the Fluxus mailing list