Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/peripheral.joystick-eeb6fec/src/buttonmapper/ButtonMapTranslator.cpp: In static member function 'static ADDON::DriverPrimitive JOYSTICK::ButtonMapTranslator::ToDriverPrimitive(const string&, JOYSTICK_DRIVER_PRIMITIVE_TYPE)':
- LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/peripheral.joystick-eeb6fec/src/buttonmapper/ButtonMapTranslator.cpp:100:53: error: invalid conversion from 'int' to 'JOYSTICK_DRIVER_PRIMITIVE_TYPE' [-fpermissive]
- primitive = ADDON::DriverPrimitive(std::atoi(strPrimitive.substr(1).c_str()), dir);
- ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/peripheral.joystick-eeb6fec/src/buttonmapper/ButtonMapTranslator.h:22:0,
- from LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/peripheral.joystick-eeb6fec/src/buttonmapper/ButtonMapTranslator.cpp:21:
- LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/toolchain/armv8a-libreelec-linux-gnueabi/sysroot/usr/include/kodi/kodi_peripheral_utils.hpp:378:5: note: initializing argument 1 of 'ADDON::DriverPrimitive::DriverPrimitive(JOYSTICK_DRIVER_PRIMITIVE_TYPE, unsigned int)'
- DriverPrimitive(JOYSTICK_DRIVER_PRIMITIVE_TYPE type, unsigned int driverIndex) :
- ^~~~~~~~~~~~~~~
- LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/peripheral.joystick-eeb6fec/src/buttonmapper/ButtonMapTranslator.cpp:100:90: error: 'ADDON::DriverPrimitive::DriverPrimitive(JOYSTICK_DRIVER_PRIMITIVE_TYPE, unsigned int)' is protected within this context
- primitive = ADDON::DriverPrimitive(std::atoi(strPrimitive.substr(1).c_str()), dir);
- ^
- In file included from LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/peripheral.joystick-eeb6fec/src/buttonmapper/ButtonMapTranslator.h:22:0,
- from LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/peripheral.joystick-eeb6fec/src/buttonmapper/ButtonMapTranslator.cpp:21:
- LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/toolchain/armv8a-libreelec-linux-gnueabi/sysroot/usr/include/kodi/kodi_peripheral_utils.hpp:378:5: note: declared protected here
- DriverPrimitive(JOYSTICK_DRIVER_PRIMITIVE_TYPE type, unsigned int driverIndex) :
- ^~~~~~~~~~~~~~~
- make[2]: *** [CMakeFiles/peripheral.joystick.dir/build.make:255: CMakeFiles/peripheral.joystick.dir/src/buttonmapper/ButtonMapTranslator.cpp.o] Error 1
- make[2]: *** Waiting for unfinished jobs....
- In file included from LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/toolchain/armv8a-libreelec-linux-gnueabi/include/c++/6.2.0/armv8a-libreelec-linux-gnueabi/bits/c++allocator.h:33:0,
- from LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/toolchain/armv8a-libreelec-linux-gnueabi/include/c++/6.2.0/bits/allocator.h:46,
- from LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/toolchain/armv8a-libreelec-linux-gnueabi/include/c++/6.2.0/bits/stl_tree.h:64,
- from LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/toolchain/armv8a-libreelec-linux-gnueabi/include/c++/6.2.0/map:60,
- from LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/peripheral.joystick-eeb6fec/src/storage/PrimitiveConfiguration.h:22,
- from LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/peripheral.joystick-eeb6fec/src/storage/DeviceConfiguration.h:22,
- from LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/peripheral.joystick-eeb6fec/src/storage/DeviceConfiguration.cpp:21:
- LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/toolchain/armv8a-libreelec-linux-gnueabi/include/c++/6.2.0/ext/new_allocator.h: In instantiation of 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = ADDON::DriverPrimitive; _Args = {const unsigned int&, JOYSTICK_DRIVER_SEMIAXIS_DIRECTION}; _Tp = ADDON::DriverPrimitive]':
- LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/toolchain/armv8a-libreelec-linux-gnueabi/include/c++/6.2.0/bits/alloc_traits.h:455:4: required from 'static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = ADDON::DriverPrimitive; _Args = {const unsigned int&, JOYSTICK_DRIVER_SEMIAXIS_DIRECTION}; _Tp = ADDON::DriverPrimitive; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<ADDON::DriverPrimitive>]'
- LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/toolchain/armv8a-libreelec-linux-gnueabi/include/c++/6.2.0/bits/vector.tcc:96:30: required from 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const unsigned int&, JOYSTICK_DRIVER_SEMIAXIS_DIRECTION}; _Tp = ADDON::DriverPrimitive; _Alloc = std::allocator<ADDON::DriverPrimitive>]'
- LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/peripheral.joystick-eeb6fec/src/storage/DeviceConfiguration.cpp:99:82: required from here
- LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/toolchain/armv8a-libreelec-linux-gnueabi/include/c++/6.2.0/ext/new_allocator.h:120:4: error: 'ADDON::DriverPrimitive::DriverPrimitive(JOYSTICK_DRIVER_PRIMITIVE_TYPE, unsigned int)' is protected within this context
- { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/peripheral.joystick-eeb6fec/src/storage/Device.h:24:0,
- from LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/peripheral.joystick-eeb6fec/src/storage/DeviceConfiguration.cpp:22:
- LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/toolchain/armv8a-libreelec-linux-gnueabi/sysroot/usr/include/kodi/kodi_peripheral_utils.hpp:378:5: note: declared protected here
- DriverPrimitive(JOYSTICK_DRIVER_PRIMITIVE_TYPE type, unsigned int driverIndex) :
- ^~~~~~~~~~~~~~~
- In file included from LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/toolchain/armv8a-libreelec-linux-gnueabi/include/c++/6.2.0/armv8a-libreelec-linux-gnueabi/bits/c++allocator.h:33:0,
- from LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/toolchain/armv8a-libreelec-linux-gnueabi/include/c++/6.2.0/bits/allocator.h:46,
- from LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/toolchain/armv8a-libreelec-linux-gnueabi/include/c++/6.2.0/bits/stl_tree.h:64,
- from LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/toolchain/armv8a-libreelec-linux-gnueabi/include/c++/6.2.0/map:60,
- from LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/peripheral.joystick-eeb6fec/src/storage/PrimitiveConfiguration.h:22,
- from LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/peripheral.joystick-eeb6fec/src/storage/DeviceConfiguration.h:22,
- from LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/peripheral.joystick-eeb6fec/src/storage/DeviceConfiguration.cpp:21:
- LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/toolchain/armv8a-libreelec-linux-gnueabi/include/c++/6.2.0/ext/new_allocator.h:120:4: error: invalid conversion from 'unsigned int' to 'JOYSTICK_DRIVER_PRIMITIVE_TYPE' [-fpermissive]
- { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/peripheral.joystick-eeb6fec/src/storage/Device.h:24:0,
- from LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/peripheral.joystick-eeb6fec/src/storage/DeviceConfiguration.cpp:22:
- LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/toolchain/armv8a-libreelec-linux-gnueabi/sysroot/usr/include/kodi/kodi_peripheral_utils.hpp:378:5: note: initializing argument 1 of 'ADDON::DriverPrimitive::DriverPrimitive(JOYSTICK_DRIVER_PRIMITIVE_TYPE, unsigned int)'
- DriverPrimitive(JOYSTICK_DRIVER_PRIMITIVE_TYPE type, unsigned int driverIndex) :
- ^~~~~~~~~~~~~~~
- make[2]: *** [CMakeFiles/peripheral.joystick.dir/build.make:711: CMakeFiles/peripheral.joystick.dir/src/storage/DeviceConfiguration.cpp.o] Error 1
- make[1]: *** [CMakeFiles/Makefile2:100: CMakeFiles/peripheral.joystick.dir/all] Error 2
- make: *** [Makefile:128: all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement