Skip to content

Instantly share code, notes, and snippets.

@bakkdoor
Created July 20, 2011 06:38
Show Gist options
  • Save bakkdoor/1094462 to your computer and use it in GitHub Desktop.
Save bakkdoor/1094462 to your computer and use it in GitHub Desktop.
compile error with fxruby
g++ -I. -I. -I/Users/backtype/projects/rubinius/vm/capi/include -I/Users/backtype/projects/idefy/FXRuby-1.6.19/ext/fox16 -DHAVE_SYS_TIME_H -DHAVE_SIGNAL_H -I/usr/local/include/fxscintilla -I/usr/local/include/fox-1.6 -fPIC -ggdb3 -O2 -fPIC -O0 -Iinclude -c FXRuby.cpp
FXRuby.cpp: In function ‘long int FXRbHandleMessage(FX::FXObject*, intptr_t, FX::FXObject*, FX::FXSelector, void*)’:
FXRuby.cpp:1271: error: invalid conversion from ‘intptr_t (*)()’ to ‘intptr_t (*)(...)’
FXRuby.cpp:1271: error: initializing argument 1 of ‘intptr_t rb_rescue2(intptr_t (*)(...), intptr_t, intptr_t (*)(...), intptr_t, ...)’
FXRuby.cpp:1271: error: invalid conversion from ‘intptr_t (*)()’ to ‘intptr_t (*)(...)’
FXRuby.cpp:1271: error: initializing argument 3 of ‘intptr_t rb_rescue2(intptr_t (*)(...), intptr_t, intptr_t (*)(...), intptr_t, ...)’
make: *** [FXRuby.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment