ros-industrial / ros2_canopen

CANopen driver framework for ROS2
https://ros-industrial.github.io/ros2_canopen/manual/rolling/
125 stars 52 forks source link

CI build failing (rolling) #266

Closed ipa-vsp closed 3 months ago

ipa-vsp commented 3 months ago
In file included from /root/target_ws/build/lely_core_libraries/upstream/include/lely/coapp/node.hpp:25,
                   from /root/target_ws/build/lely_core_libraries/upstream/include/lely/coapp/slave.hpp:25,
                   from /root/target_ws/build/lely_core_libraries/upstream/src/coapp/slave.cpp:32:
  /root/target_ws/build/lely_core_libraries/upstream/include/lely/coapp/device.hpp:1003:3: error: ‘virtual void lely::canopen::Device::OnWrite(uint16_t, uint8_t)’ was hidden [-Werror=overloaded-virtual=]
   1003 |   OnWrite(uint16_t /*idx*/, uint8_t /*subidx*/) noexcept {}
        |   ^~~~~~~
  /root/target_ws/build/lely_core_libraries/upstream/include/lely/coapp/slave.hpp:838:57: note:   by ‘lely::canopen::BasicSlave::OnWrite’
    838 |   typename ::std::enable_if<is_canopen<T>::value>::type OnWrite(
        |                                                         ^~~~~~~
  cc1plus: all warnings being treated as errors
  gmake[6]: *** [Makefile:671: liblely_coapp_la-slave.lo] Error 1
  gmake[5]: *** [Makefile:420: all-recursive] Error 1
  gmake[4]: *** [Makefile:482: all-recursive] Error 1
  gmake[3]: *** [Makefile:410: all] Error 2
  gmake[2]: *** [CMakeFiles/upstr_lely_core_libraries.dir/build.make:86: upstr_lely_core_libraries-prefix/src/upstr_lely_core_libraries-stamp/upstr_lely_core_libraries-build] Error 2
  gmake[1]: *** [CMakeFiles/Makefile2:143: CMakeFiles/upstr_lely_core_libraries.dir/all] Error 2
  gmake: *** [Makefile:146: all] Error 2
  ---
  Failed   <<< lely_core_libraries [46.3s, exited with code 2]
ipa-vsp commented 3 months ago

267