Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🧑‍🌾 stl_algobase.h:437 one warning in linux release nightlies #1240

Closed
Crola1702 opened this issue Jul 16, 2024 · 0 comments · Fixed by #1249
Closed

🧑‍🌾 stl_algobase.h:437 one warning in linux release nightlies #1240

Crola1702 opened this issue Jul 16, 2024 · 0 comments · Fixed by #1249

Comments

@Crola1702
Copy link
Contributor

Description

Yesterday, a new warning poped up for ROS2 Linux nightlies

Reference builds:

One warning stl_algobase.h:437 (array-bounds=):

‘void* __builtin_memmove(void*, const void*, long unsigned int)’ forming offset 8 is out of the bounds [0, 8] [-Warray-bounds=] 437 | __builtin_memmove(__result, __first, sizeof(_Tp) * _Num); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Full compilation output:
In file included from ^[[01m^[[K/usr/include/c++/13/bits/specfun.h:43^[[m^[[K,^M                                                                                                              
                 from ^[[01m^[[K/usr/include/c++/13/cmath:3699^[[m^[[K,^M
                 from ^[[01m^[[K/home/jenkins-agent/workspace/nightly_linux_release/ws/build/rviz_assimp_vendor/assimp_vendor-prefix/src/assimp_vendor/include/assimp/vector2.h:53^[[m^[[K,^M
                 from ^[[01m^[[K/home/jenkins-agent/workspace/nightly_linux_release/ws/build/rviz_assimp_vendor/assimp_vendor-prefix/src/assimp_vendor/include/assimp/types.h:64^[[m^[[K,^M
                 from ^[[01m^[[K/home/jenkins-agent/workspace/nightly_linux_release/ws/build/rviz_assimp_vendor/assimp_vendor-prefix/src/assimp_vendor/include/assimp/IOStream.hpp:53^[[m^[[K,
                 from ^[[01m^[[K/home/jenkins-agent/workspace/nightly_linux_release/ws/build/rviz_assimp_vendor/assimp_vendor-prefix/src/assimp_vendor/include/assimp/DefaultIOStream.h:55^[[m
                 from ^[[01m^[[K/home/jenkins-agent/workspace/nightly_linux_release/ws/build/rviz_assimp_vendor/assimp_vendor-prefix/src/assimp_vendor/include/assimp/Exceptional.h:49^[[m^[[K
                 from ^[[01m^[[K/home/jenkins-agent/workspace/nightly_linux_release/ws/build/rviz_assimp_vendor/assimp_vendor-prefix/src/assimp_vendor/include/assimp/BaseImporter.h:52^[[m^[[
                 from ^[[01m^[[K/home/jenkins-agent/workspace/nightly_linux_release/ws/build/rviz_assimp_vendor/assimp_vendor-prefix/src/assimp_vendor/code/AssetLib/MDL/MDLLoader.h:50^[[m^[[
                 from ^[[01m^[[K/home/jenkins-agent/workspace/nightly_linux_release/ws/build/rviz_assimp_vendor/assimp_vendor-prefix/src/assimp_vendor/code/AssetLib/MDL/MDLLoader.cpp:51^[[m^
In static member function ‘^[[01m^[[Kstatic _Up* std::__copy_move<_IsMove, true, std::random_access_iterator_tag>::^[[01;32m^[[K__copy_m^[[m^[[K(_Tp*, _Tp*, _Up*) ^[[35m^[[K[with _Tp = long
    inlined from ‘^[[01m^[[K_OI std::^[[01;32m^[[K__copy_move_a2^[[m^[[K(_II, _II, _OI) ^[[35m^[[K[with bool _IsMove = false; _II = long unsigned int*; _OI = long unsigned int*]^[[m^[[K^[[m^
    inlined from ‘^[[01m^[[K_OI std::^[[01;32m^[[K__copy_move_a1^[[m^[[K(_II, _II, _OI) ^[[35m^[[K[with bool _IsMove = false; _II = long unsigned int*; _OI = long unsigned int*]^[[m^[[K^[[m^
    inlined from ‘^[[01m^[[K_OI std::^[[01;32m^[[K__copy_move_a^[[m^[[K(_II, _II, _OI) ^[[35m^[[K[with bool _IsMove = false; _II = long unsigned int*; _OI = long unsigned int*]^[[m^[[K^[[m^[
    inlined from ‘^[[01m^[[K_OI std::^[[01;32m^[[Kcopy^[[m^[[K(_II, _II, _OI) ^[[35m^[[K[with _II = long unsigned int*; _OI = long unsigned int*]^[[m^[[K^[[m^[[K’ at ^[[01m^[[K/usr/include/c
    inlined from ‘^[[01m^[[Kstd::vector<bool, _Alloc>::iterator std::vector<bool, _Alloc>::^[[01;32m^[[K_M_copy_aligned^[[m^[[K(const_iterator, const_iterator, iterator) ^[[35m^[[K[with _All
    inlined from ‘^[[01m^[[Kvoid std::vector<bool, _Alloc>::^[[01;32m^[[K_M_reallocate^[[m^[[K(size_type) ^[[35m^[[K[with _Alloc = std::allocator<bool>]^[[m^[[K^[[m^[[K’ at ^[[01m^[[K/usr/in
    inlined from ‘^[[01m^[[Kvoid std::vector<bool, _Alloc>::^[[01;32m^[[Kreserve^[[m^[[K(size_type) ^[[35m^[[K[with _Alloc = std::allocator<bool>]^[[m^[[K^[[m^[[K’ at ^[[01m^[[K/usr/include/
    inlined from ‘^[[01m^[[KAssimp::MDL::IntSharedData_MDL7::^[[01;32m^[[KIntSharedData_MDL7^[[m^[[K()^[[m^[[K’ at ^[[01m^[[K/home/jenkins-agent/workspace/nightly_linux_release/ws/build/rviz
    inlined from ‘^[[01m^[[Kvoid Assimp::MDLImporter::^[[01;32m^[[KInternReadFile_3DGS_MDL7^[[m^[[K()^[[m^[[K’ at ^[[01m^[[K/home/jenkins-agent/workspace/nightly_linux_release/ws/build/rviz_
^[[01m^[[K/usr/include/c++/13/bits/stl_algobase.h:437:30:^[[m^[[K ^[[01;35m^[[Kwarning: ^[[m^[[K‘^[[01m^[[Kvoid*^[[01;32m^[[K __builtin_memmove^[[m^[[K(void*, const void*, long unsigned int)
  437 |             ^[[01;35m^[[K__builtin_memmove(__result, __first, sizeof(_Tp) * _Num)^[[m^[[K;^M
      |             ^[[01;35m^[[K~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^[[m^[[K^M

As the full log says, this is happening in rviz/assimp_vendor package. I think it might be related to #1226 as it updated std c++ version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant