Advertisement
C0BRA

Untitled

Aug 1st, 2014
250
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.25 KB | None | 0 0
  1. ==== Building Lua++ (release) ====
  2. test_other.cpp
  3. main.cpp
  4. In file included from ../Source/test_other.cpp:5:0:
  5. ../Source/Lua++.hpp:821:95: warning: cannot declare member function ‘static Lua::Variable Lua::Variable::FromMemberFunction(Lua::State*, Ret (Clazz::*)(Args ...))’ to have static linkage [-fpermissive]
  6. static inline Variable Variable::FromMemberFunction(State* state, Ret (Clazz::*func)(Args...))
  7. ^
  8. ../Source/Lua++.hpp: In static member function ‘static Lua::Variable Lua::Variable::FromMemberFunction(Lua::State*, Ret (Clazz::*)(Args ...))’:
  9. ../Source/Lua++.hpp:823:57: error: expected primary-expression before ‘,’ token
  10. CppFunction::MemberFunctionWrapper<Ret>::Wrapper<Clazz, Args...>::store(*state, func);
  11. ^
  12. ../Source/Lua++.hpp:823:63: error: expected primary-expression before ‘...’ token
  13. CppFunction::MemberFunctionWrapper<Ret>::Wrapper<Clazz, Args...>::store(*state, func);
  14. ^
  15. ../Source/Lua++.hpp:823:63: error: expected ‘;’ before ‘...’ token
  16. In file included from ../Source/main.cpp:5:0:
  17. ../Source/Lua++.hpp:821:95: warning: cannot declare member function ‘static Lua::Variable Lua::Variable::FromMemberFunction(Lua::State*, Ret (Clazz::*)(Args ...))’ to have static linkage [-fpermissive]
  18. static inline Variable Variable::FromMemberFunction(State* state, Ret (Clazz::*func)(Args...))
  19. ^
  20. ../Source/Lua++.hpp: In static member function ‘static Lua::Variable Lua::Variable::FromMemberFunction(Lua::State*, Ret (Clazz::*)(Args ...))’:
  21. ../Source/Lua++.hpp:823:57: error: expected primary-expression before ‘,’ token
  22. CppFunction::MemberFunctionWrapper<Ret>::Wrapper<Clazz, Args...>::store(*state, func);
  23. ^
  24. ../Source/Lua++.hpp:823:63: error: expected primary-expression before ‘...’ token
  25. CppFunction::MemberFunctionWrapper<Ret>::Wrapper<Clazz, Args...>::store(*state, func);
  26. ^
  27. ../Source/Lua++.hpp:823:63: error: expected ‘;’ before ‘...’ token
  28. ../Source/Lua++.hpp: In instantiation of ‘Lua::Variable::Variable(Lua::State*, const T&) [with T = char [8]]’:
  29. ../Source/main.cpp:43:2: required from here
  30. ../Source/Lua++.hpp:681:45: error: ‘Push’ is not a member of ‘Lua::Extensions::AllowedType<char [8]>’
  31. Extensions::AllowedType<T>::Push(*state, v);
  32. ^
  33. ../Source/Lua++.hpp: In instantiation of ‘static Lua::Variable Lua::Variable::FromMemberFunction(Lua::State*, Ret (Clazz::*)(Args ...)) [with Clazz = test_cppfunction()::Class; Ret = int; Args = {int, int}]’:
  34. ../Source/main.cpp:79:75: required from here
  35. ../Source/Lua++.hpp:823:51: error: dependent-name ‘Lua::CppFunction::MemberFunctionWrapper<Ret>::Wrapper’ is parsed as a non-type, but instantiation yields a type
  36. CppFunction::MemberFunctionWrapper<Ret>::Wrapper<Clazz, Args...>::store(*state, func);
  37. ^
  38. ../Source/Lua++.hpp:823:51: note: say ‘typename Lua::CppFunction::MemberFunctionWrapper<Ret>::Wrapper’ if a type is meant
  39. ../Source/Lua++.hpp: In instantiation of ‘static Lua::Variable Lua::Variable::FromMemberFunction(Lua::State*, Ret (Clazz::*)(Args ...)) [with Clazz = test_cppfunction()::Class; Ret = void; Args = {int, int}]’:
  40. ../Source/main.cpp:81:76: required from here
  41. ../Source/Lua++.hpp:823:51: error: dependent-name ‘Lua::CppFunction::MemberFunctionWrapper<Ret>::Wrapper’ is parsed as a non-type, but instantiation yields a type
  42. ../Source/Lua++.hpp:823:51: note: say ‘typename Lua::CppFunction::MemberFunctionWrapper<Ret>::Wrapper’ if a type is meant
  43. Lua++.make:142: recipe for target 'obj/Release/test_other.o' failed
  44. make[1]: *** [obj/Release/test_other.o] Error 1
  45. make[1]: *** Waiting for unfinished jobs....
  46. Lua++.make:145: recipe for target 'obj/Release/main.o' failed
  47. make[1]: *** [obj/Release/main.o] Error 1
  48. Makefile:16: recipe for target 'Lua++' failed
  49. make: *** [Lua++] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement