|
Sorry about that. set should return void. - Peter Steve Elkins wrote:
Hi, I'm trying lunar.h (http://lua-users.org/wiki/CppBindingWithLunar) and when I use -Wall gcc complains something like this: lunar.hpp:169: warning: control reaches end of non-void function `Lunar<Endpoint>::set(lua_State *, int, const char *)' Should set() be void or should it return an int and if so, 0 or 1? Thanks, Steve