On Mar 12, 2009, at 6:56 , Lyle Johnson wrote:
>> I change the follow line in file FXRuby.cpp
>> extern "C" void Init_fox16(void)
>> into
>> extern "C" void __attribute__ ((dllexport)) Init_fox16(void).
>>
>> then recompile it and link.
>
> Thanks! I am going to try to figure out how to add this attribute
> in a cross-platform way (i.e. so that adding it doesn't break the
> build for other compilers and OS's).
How/why did this work before with Ruby 1.8?
Just curious,
Dave
_______________________________________________
fxruby-users mailing list
fxruby-users@...
http://rubyforge.org/mailman/listinfo/fxruby-users