decimad / luabind-deboostified

Create Lua bindings for your C++ code easily - my improvements
http://www.vrac.iastate.edu/vancegroup/docs/luabind/
Other
70 stars 27 forks source link

Failed to build latest state (87897cf) on GCC 6.4.0 #43

Open Wohlstand opened 6 years ago

Wohlstand commented 6 years ago

Just now I have tried to merge fresh changes (87897cf)with me, however, I have got a set of build errors on my side, therefore I have reverted that. I'll try to fix this later, however, if someone also will try to fix this, also greeting.

The build log (after the CMake has configured)

$ make -j 5
[  0%] Building CXX object test/CMakeFiles/test_main.dir/main.cpp.o
[  1%] Building CXX object src/CMakeFiles/luabind.dir/class_rep.cpp.o
[  1%] Building CXX object src/CMakeFiles/luabind.dir/class.cpp.o
[  2%] Building CXX object src/CMakeFiles/luabind.dir/class_registry.cpp.o
[  3%] Building CXX object src/CMakeFiles/luabind.dir/class_info.cpp.o
In file included from /.../luabind-deboostified-decimad/luabind/detail/object.hpp:36:0,
                 from /.../luabind-deboostified-decimad/luabind/make_function.hpp:9,
                 from /.../luabind-deboostified-decimad/luabind/function.hpp:8,
                 from /.../luabind-deboostified-decimad/luabind/class.hpp:81,
                 from /.../luabind-deboostified-decimad/luabind/luabind.hpp:28,
                 from /.../luabind-deboostified-decimad/src/class_rep.cpp:29:
/.../luabind-deboostified-decimad/luabind/lua_index_proxy.hpp: In member function ‘luabind::adl::index_proxy<Next>::this_type& luabind::adl::index_proxy<Next>::operator=(const this_type&)’:
/.../luabind-deboostified-decimad/luabind/lua_index_proxy.hpp:75:5: error: ‘push’ is not a member of ‘luabind::detail’
     detail::push(m_interpreter, value);
     ^~~~~~
In file included from /.../luabind-deboostified-decimad/luabind/detail/object.hpp:36:0,
                 from /.../luabind-deboostified-decimad/luabind/make_function.hpp:9,
                 from /.../luabind-deboostified-decimad/luabind/function.hpp:8,
                 from /.../luabind-deboostified-decimad/luabind/class.hpp:81,
                 from /.../luabind-deboostified-decimad/luabind/luabind.hpp:28,
                 from /.../luabind-deboostified-decimad/src/class_info.cpp:27:
/.../luabind-deboostified-decimad/luabind/lua_index_proxy.hpp: In member function ‘luabind::adl::index_proxy<Next>::this_type& luabind::adl::index_proxy<Next>::operator=(const this_type&)’:
/.../luabind-deboostified-decimad/luabind/lua_index_proxy.hpp:75:5: error: ‘push’ is not a member of ‘luabind::detail’
     detail::push(m_interpreter, value);
     ^~~~~~
[  4%] Building CXX object src/CMakeFiles/luabind.dir/create_class.cpp.o
In file included from /.../luabind-deboostified-decimad/luabind/detail/conversion_policies/conversion_policies.hpp:36:0,
                 from /.../luabind-deboostified-decimad/luabind/detail/object.hpp:383,
                 from /.../luabind-deboostified-decimad/luabind/make_function.hpp:9,
                 from /.../luabind-deboostified-decimad/luabind/function.hpp:8,
                 from /.../luabind-deboostified-decimad/luabind/class.hpp:81,
                 from /.../luabind-deboostified-decimad/luabind/luabind.hpp:28,
                 from /.../luabind-deboostified-decimad/src/class_rep.cpp:29:
/.../luabind-deboostified-decimad/luabind/detail/conversion_policies/function_converter.hpp: At global scope:
/.../luabind-deboostified-decimad/luabind/detail/conversion_policies/function_converter.hpp:44:10: error: specialization of ‘template<class T, class WrappedType> struct luabind::deduce_signature’ in different namespace [-fpermissive]
   struct deduce_signature <std::function< R(Args...) >, WrappedType >
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /.../luabind-deboostified-decimad/luabind/lua_proxy.hpp:27:0,
                 from /.../luabind-deboostified-decimad/luabind/handle.hpp:27,
                 from /.../luabind-deboostified-decimad/luabind/detail/object.hpp:29,
                 from /.../luabind-deboostified-decimad/luabind/make_function.hpp:9,
                 from /.../luabind-deboostified-decimad/luabind/function.hpp:8,
                 from /.../luabind-deboostified-decimad/luabind/class.hpp:81,
                 from /.../luabind-deboostified-decimad/luabind/luabind.hpp:28,
                 from /.../luabind-deboostified-decimad/src/class_rep.cpp:29:
/.../luabind-deboostified-decimad/luabind/detail/type_traits.hpp:111:9: error:   from definition of ‘template<class T, class WrappedType> struct luabind::deduce_signature’ [-fpermissive]
  struct deduce_signature;
         ^~~~~~~~~~~~~~~~
In file included from /.../luabind-deboostified-decimad/luabind/detail/conversion_policies/conversion_policies.hpp:36:0,
                 from /.../luabind-deboostified-decimad/luabind/detail/object.hpp:383,
                 from /.../luabind-deboostified-decimad/luabind/make_function.hpp:9,
                 from /.../luabind-deboostified-decimad/luabind/function.hpp:8,
                 from /.../luabind-deboostified-decimad/luabind/class.hpp:81,
                 from /.../luabind-deboostified-decimad/luabind/luabind.hpp:28,
                 from /.../luabind-deboostified-decimad/src/class_info.cpp:27:
/.../luabind-deboostified-decimad/luabind/detail/conversion_policies/function_converter.hpp: At global scope:
/.../luabind-deboostified-decimad/luabind/detail/conversion_policies/function_converter.hpp:44:10: error: specialization of ‘template<class T, class WrappedType> struct luabind::deduce_signature’ in different namespace [-fpermissive]
   struct deduce_signature <std::function< R(Args...) >, WrappedType >
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /.../luabind-deboostified-decimad/luabind/lua_proxy.hpp:27:0,
                 from /.../luabind-deboostified-decimad/luabind/handle.hpp:27,
                 from /.../luabind-deboostified-decimad/luabind/detail/object.hpp:29,
                 from /.../luabind-deboostified-decimad/luabind/make_function.hpp:9,
                 from /.../luabind-deboostified-decimad/luabind/function.hpp:8,
                 from /.../luabind-deboostified-decimad/luabind/class.hpp:81,
                 from /.../luabind-deboostified-decimad/luabind/luabind.hpp:28,
                 from /.../luabind-deboostified-decimad/src/class_info.cpp:27:
/.../luabind-deboostified-decimad/luabind/detail/type_traits.hpp:111:9: error:   from definition of ‘template<class T, class WrappedType> struct luabind::deduce_signature’ [-fpermissive]
  struct deduce_signature;
         ^~~~~~~~~~~~~~~~
In file included from /.../luabind-deboostified-decimad/luabind/detail/object.hpp:36:0,
                 from /.../luabind-deboostified-decimad/luabind/make_function.hpp:9,
                 from /.../luabind-deboostified-decimad/luabind/function.hpp:8,
                 from /.../luabind-deboostified-decimad/luabind/class.hpp:81,
                 from /.../luabind-deboostified-decimad/src/class.cpp:28:
/.../luabind-deboostified-decimad/luabind/lua_index_proxy.hpp: In member function ‘luabind::adl::index_proxy<Next>::this_type& luabind::adl::index_proxy<Next>::operator=(const this_type&)’:
/.../luabind-deboostified-decimad/luabind/lua_index_proxy.hpp:75:5: error: ‘push’ is not a member of ‘luabind::detail’
     detail::push(m_interpreter, value);
     ^~~~~~
[  5%] Linking CXX static library ../lib/libtest_main.a
src/CMakeFiles/luabind.dir/build.make:134: ошибка выполнения рецепта для цели «src/CMakeFiles/luabind.dir/class_rep.cpp.o»
make[2]: *** [src/CMakeFiles/luabind.dir/class_rep.cpp.o] Ошибка 1
make[2]: *** Ожидание завершения заданий…
[  5%] Built target test_main
In file included from /.../luabind-deboostified-decimad/luabind/detail/conversion_policies/conversion_policies.hpp:36:0,
                 from /.../luabind-deboostified-decimad/luabind/detail/object.hpp:383,
                 from /.../luabind-deboostified-decimad/luabind/make_function.hpp:9,
                 from /.../luabind-deboostified-decimad/luabind/function.hpp:8,
                 from /.../luabind-deboostified-decimad/luabind/class.hpp:81,
                 from /.../luabind-deboostified-decimad/src/class.cpp:28:
/.../luabind-deboostified-decimad/luabind/detail/conversion_policies/function_converter.hpp: At global scope:
/.../luabind-deboostified-decimad/luabind/detail/conversion_policies/function_converter.hpp:44:10: error: specialization of ‘template<class T, class WrappedType> struct luabind::deduce_signature’ in different namespace [-fpermissive]
   struct deduce_signature <std::function< R(Args...) >, WrappedType >
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /.../luabind-deboostified-decimad/luabind/lua_proxy.hpp:27:0,
                 from /.../luabind-deboostified-decimad/luabind/handle.hpp:27,
                 from /.../luabind-deboostified-decimad/luabind/detail/object.hpp:29,
                 from /.../luabind-deboostified-decimad/luabind/make_function.hpp:9,
                 from /.../luabind-deboostified-decimad/luabind/function.hpp:8,
                 from /.../luabind-deboostified-decimad/luabind/class.hpp:81,
                 from /.../luabind-deboostified-decimad/src/class.cpp:28:
/.../luabind-deboostified-decimad/luabind/detail/type_traits.hpp:111:9: error:   from definition of ‘template<class T, class WrappedType> struct luabind::deduce_signature’ [-fpermissive]
  struct deduce_signature;
         ^~~~~~~~~~~~~~~~
src/CMakeFiles/luabind.dir/build.make:86: ошибка выполнения рецепта для цели «src/CMakeFiles/luabind.dir/class_info.cpp.o»
make[2]: *** [src/CMakeFiles/luabind.dir/class_info.cpp.o] Ошибка 1
In file included from /.../luabind-deboostified-decimad/luabind/detail/object.hpp:36:0,
                 from /.../luabind-deboostified-decimad/luabind/make_function.hpp:9,
                 from /.../luabind-deboostified-decimad/luabind/function.hpp:8,
                 from /.../luabind-deboostified-decimad/luabind/class.hpp:81,
                 from /.../luabind-deboostified-decimad/luabind/luabind.hpp:28,
                 from /.../luabind-deboostified-decimad/src/create_class.cpp:27:
/.../luabind-deboostified-decimad/luabind/lua_index_proxy.hpp: In member function ‘luabind::adl::index_proxy<Next>::this_type& luabind::adl::index_proxy<Next>::operator=(const this_type&)’:
/.../luabind-deboostified-decimad/luabind/lua_index_proxy.hpp:75:5: error: ‘push’ is not a member of ‘luabind::detail’
     detail::push(m_interpreter, value);
     ^~~~~~
src/CMakeFiles/luabind.dir/build.make:62: ошибка выполнения рецепта для цели «src/CMakeFiles/luabind.dir/class.cpp.o»
make[2]: *** [src/CMakeFiles/luabind.dir/class.cpp.o] Ошибка 1
In file included from /.../luabind-deboostified-decimad/luabind/detail/conversion_policies/conversion_policies.hpp:36:0,
                 from /.../luabind-deboostified-decimad/luabind/detail/object.hpp:383,
                 from /.../luabind-deboostified-decimad/luabind/make_function.hpp:9,
                 from /.../luabind-deboostified-decimad/luabind/function.hpp:8,
                 from /.../luabind-deboostified-decimad/luabind/class.hpp:81,
                 from /.../luabind-deboostified-decimad/luabind/luabind.hpp:28,
                 from /.../luabind-deboostified-decimad/src/create_class.cpp:27:
/.../luabind-deboostified-decimad/luabind/detail/conversion_policies/function_converter.hpp: At global scope:
/.../luabind-deboostified-decimad/luabind/detail/conversion_policies/function_converter.hpp:44:10: error: specialization of ‘template<class T, class WrappedType> struct luabind::deduce_signature’ in different namespace [-fpermissive]
   struct deduce_signature <std::function< R(Args...) >, WrappedType >
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /.../luabind-deboostified-decimad/luabind/lua_proxy.hpp:27:0,
                 from /.../luabind-deboostified-decimad/luabind/handle.hpp:27,
                 from /.../luabind-deboostified-decimad/luabind/detail/object.hpp:29,
                 from /.../luabind-deboostified-decimad/luabind/make_function.hpp:9,
                 from /.../luabind-deboostified-decimad/luabind/function.hpp:8,
                 from /.../luabind-deboostified-decimad/luabind/class.hpp:81,
                 from /.../luabind-deboostified-decimad/luabind/luabind.hpp:28,
                 from /.../luabind-deboostified-decimad/src/create_class.cpp:27:
/.../luabind-deboostified-decimad/luabind/detail/type_traits.hpp:111:9: error:   from definition of ‘template<class T, class WrappedType> struct luabind::deduce_signature’ [-fpermissive]
  struct deduce_signature;
Xottab-DUTY commented 6 years ago

38 should fix this

Wohlstand commented 6 years ago

Yeah, it's fixes, but one damned "test_policies" unit test still be not build-able :yum:

joede commented 6 years ago

Any news on this issue here?

nitrocaster commented 5 years ago

Unit tests are completely outdated since this fork has been created.