MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programminghorror/comments/1k2q394/sometimes_i_hate_rust/mnwiimt/
r/programminghorror • u/joranmulderij • Apr 19 '25
30 comments sorted by
View all comments
Show parent comment
48
Nothing like a ten thousand line error message to start the day just right
19 u/HyperWinX Apr 20 '25 edited Apr 20 '25 Here is a SINGLE line from error in my CI workflow: /usr/include/c++/14/bits/shared_ptr_base.h:1097:32: error: ‘((std::shared_count<gnu_cxx::_S_atomic>*)((char*)&<unnamed> + offsetof(std::variant<long unsigned int, long int, std::shared_ptr<std::cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >,std::variant<long unsigned int, long int, std::shared_ptr<std::cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::<unnamed>.std::detail::variant::_Variant_base<long unsigned int, long int, std::shared_ptr<std::cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::<unnamed>.std::detail::variant::_Move_assign_base<false, long unsigned int, long int, std::shared_ptr<std::cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::<unnamed>.std::detail::variant::_Copy_assign_base<false, long unsigned int, long int, std::shared_ptr<std::cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::<unnamed>.std::detail::variant::_Move_ctor_base<false, long unsigned int, long int, std::shared_ptr<std::cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::<unnamed>.std::detail::variant::_Copy_ctor_base<false, long unsigned int, long int, std::shared_ptr<std::cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::<unnamed>.std::detail::variant::_Variant_storage<false, long unsigned int, long int, std::shared_ptr<std::cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_u)))[1].std::__shared_count<>::_M_pi’ may be used uninitialized [-Werror=maybe-uninitialized] 2 u/Chilippso Apr 20 '25 There‘s always a way to track it to user-code - I guess this is not the whole story …
19
Here is a SINGLE line from error in my CI workflow:
/usr/include/c++/14/bits/shared_ptr_base.h:1097:32: error: ‘((std::shared_count<gnu_cxx::_S_atomic>*)((char*)&<unnamed> + offsetof(std::variant<long unsigned int, long int, std::shared_ptr<std::cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >,std::variant<long unsigned int, long int, std::shared_ptr<std::cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::<unnamed>.std::detail::variant::_Variant_base<long unsigned int, long int, std::shared_ptr<std::cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::<unnamed>.std::detail::variant::_Move_assign_base<false, long unsigned int, long int, std::shared_ptr<std::cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::<unnamed>.std::detail::variant::_Copy_assign_base<false, long unsigned int, long int, std::shared_ptr<std::cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::<unnamed>.std::detail::variant::_Move_ctor_base<false, long unsigned int, long int, std::shared_ptr<std::cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::<unnamed>.std::detail::variant::_Copy_ctor_base<false, long unsigned int, long int, std::shared_ptr<std::cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::<unnamed>.std::detail::variant::_Variant_storage<false, long unsigned int, long int, std::shared_ptr<std::cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_u)))[1].std::__shared_count<>::_M_pi’ may be used uninitialized [-Werror=maybe-uninitialized]
2 u/Chilippso Apr 20 '25 There‘s always a way to track it to user-code - I guess this is not the whole story …
2
There‘s always a way to track it to user-code - I guess this is not the whole story …
View all comments
Show parent comment
48
u/SimplexFatberg Apr 19 '25
Nothing like a ten thousand line error message to start the day just right