Hello,

first I must say that I'm a c/gcc newbie.
if i compile the simple Hello World Foreign Function Interface example.

I get following error:
test.cpp: In function ‘void* test__0()’:
test.cpp:43: error: invalid conversion from ‘_value* (*)()’ to ‘void*

What is the problem ?

I'm not sure why you get this error, since it should be accepted by the compiler to use a function pointer. Maybe because you are using .cpp extension ? Try using .c instead.

Nicolas


--
Neko : One VM to run them all
(http://nekovm.org)

Reply via email to