lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi!

I've just downloaded the Luna file and tryied to compile the first 
sample,
but received the following error:

C:\lua\luna.tar\luna\teste\account.cpp(40) : 
error C2440: 'initializing' : cannot convert from 
'      int (__thiscall Account::*)(struct lua_State *)' to 
'const int (__thiscall Account::*)(struct lua_State *)'


the line 40 is

{"deposit",  &Account::deposit},

I've read the files luna.h and account.cpp, but found nothing that 
could explain that...

Any tip?

BTW, anybody is using Luna in your projects?