Skip to content

Instantly share code, notes, and snippets.

@ttldtor
Created May 13, 2024 18:54
Show Gist options
  • Save ttldtor/0921de7c9ff390eb8edb5fedb1db51dd to your computer and use it in GitHub Desktop.
Save ttldtor/0921de7c9ff390eb8edb5fedb1db51dd to your computer and use it in GitHub Desktop.
In file included from C:/msys64/mingw64/include/c++/14.1.0/bits/stl_construct.h:62,
from C:/msys64/mingw64/include/c++/14.1.0/bits/stl_iterator.h:78,
from C:/msys64/mingw64/include/c++/14.1.0/bits/ranges_base.h:37,
from C:/msys64/mingw64/include/c++/14.1.0/bits/ranges_util.h:34,
from C:/msys64/mingw64/include/c++/14.1.0/tuple:44,
from C:/msys64/mingw64/include/c++/14.1.0/functional:53,
from C:/w3/dxfeed-graal-cxx-api/include/dxfeed_graal_cpp_api/internal/CEntryPointErrors.hpp:12:
In function 'constexpr void std::__advance(_InputIterator&, _Distance, input_iterator_tag) [with _InputIterator = ranges::basic_iterator<ranges::adaptor_cursor<__detail::_Node_const_iterator<pair<const __cxx11::basic_string<char>, variant<dxfcpp::tools::ConnectTool, dxfcpp::tools::DumpTool, dxfcpp::tools::HelpTool, dxfcpp::tools::LatencyTest, dxfcpp::tools::PerfTestTool, dxfcpp::tools::QdsTool> >, false, true>, ranges::iter_transform_view<ranges::ref_view<const unordered_map<__cxx11::basic_string<char>, variant<dxfcpp::tools::ConnectTool, dxfcpp::tools::DumpTool, dxfcpp::tools::HelpTool, dxfcpp::tools::LatencyTest, dxfcpp::tools::PerfTestTool, dxfcpp::tools::QdsTool> > >, ranges::indirected<ranges::detail::get_second> >::adaptor<false> > >; _Distance = long long int]',
inlined from 'constexpr void std::advance(_InputIterator&, _Distance) [with _InputIterator = ranges::basic_iterator<ranges::adaptor_cursor<__detail::_Node_const_iterator<pair<const __cxx11::basic_string<char>, variant<dxfcpp::tools::ConnectTool, dxfcpp::tools::DumpTool, dxfcpp::tools::HelpTool, dxfcpp::tools::LatencyTest, dxfcpp::tools::PerfTestTool, dxfcpp::tools::QdsTool> >, false, true>, ranges::iter_transform_view<ranges::ref_view<const unordered_map<__cxx11::basic_string<char>, variant<dxfcpp::tools::ConnectTool, dxfcpp::tools::DumpTool, dxfcpp::tools::HelpTool, dxfcpp::tools::LatencyTest, dxfcpp::tools::PerfTestTool, dxfcpp::tools::QdsTool> > >, ranges::indirected<ranges::detail::get_second> >::adaptor<false> > >; _Distance = long long unsigned int]' at C:/msys64/mingw64/include/c++/14.1.0/bits/stl_iterator_base_funcs.h:224:21,
inlined from 'constexpr void std::vector<_Tp, _Alloc>::_M_assign_aux(_ForwardIterator, _ForwardIterator, std::forward_iterator_tag) [with _ForwardIterator = ranges::basic_iterator<ranges::adaptor_cursor<std::__detail::_Node_const_iterator<std::pair<const std::__cxx11::basic_string<char>, std::variant<dxfcpp::tools::ConnectTool, dxfcpp::tools::DumpTool, dxfcpp::tools::HelpTool, dxfcpp::tools::LatencyTest, dxfcpp::tools::PerfTestTool, dxfcpp::tools::QdsTool> >, false, true>, ranges::iter_transform_view<ranges::ref_view<const std::unordered_map<std::__cxx11::basic_string<char>, std::variant<dxfcpp::tools::ConnectTool, dxfcpp::tools::DumpTool, dxfcpp::tools::HelpTool, dxfcpp::tools::LatencyTest, dxfcpp::tools::PerfTestTool, dxfcpp::tools::QdsTool> > >, ranges::indirected<ranges::detail::get_second> >::adaptor<false> > >; _Tp = std::variant<dxfcpp::tools::ConnectTool, dxfcpp::tools::DumpTool, dxfcpp::tools::HelpTool, dxfcpp::tools::LatencyTest, dxfcpp::tools::PerfTestTool, dxfcpp::tools::QdsTool>; _Alloc = std::allocator<std::variant<dxfcpp::tools::ConnectTool, dxfcpp::tools::DumpTool, dxfcpp::tools::HelpTool, dxfcpp::tools::LatencyTest, dxfcpp::tools::PerfTestTool, dxfcpp::tools::QdsTool> >]' at C:/msys64/mingw64/include/c++/14.1.0/bits/vector.tcc:347:18,
inlined from 'constexpr void std::vector<_Tp, _Alloc>::assign(_InputIterator, _InputIterator) [with _InputIterator = ranges::basic_iterator<ranges::adaptor_cursor<std::__detail::_Node_const_iterator<std::pair<const std::__cxx11::basic_string<char>, std::variant<dxfcpp::tools::ConnectTool, dxfcpp::tools::DumpTool, dxfcpp::tools::HelpTool, dxfcpp::tools::LatencyTest, dxfcpp::tools::PerfTestTool, dxfcpp::tools::QdsTool> >, false, true>, ranges::iter_transform_view<ranges::ref_view<const std::unordered_map<std::__cxx11::basic_string<char>, std::variant<dxfcpp::tools::ConnectTool, dxfcpp::tools::DumpTool, dxfcpp::tools::HelpTool, dxfcpp::tools::LatencyTest, dxfcpp::tools::PerfTestTool, dxfcpp::tools::QdsTool> > >, ranges::indirected<ranges::detail::get_second> >::adaptor<false> > >; <template-parameter-2-2> = void; _Tp = std::variant<dxfcpp::tools::ConnectTool, dxfcpp::tools::DumpTool, dxfcpp::tools::HelpTool, dxfcpp::tools::LatencyTest, dxfcpp::tools::PerfTestTool, dxfcpp::tools::QdsTool>; _Alloc = std::allocator<std::variant<dxfcpp::tools::ConnectTool, dxfcpp::tools::DumpTool, dxfcpp::tools::HelpTool, dxfcpp::tools::LatencyTest, dxfcpp::tools::PerfTestTool, dxfcpp::tools::QdsTool> >]' at C:/msys64/mingw64/include/c++/14.1.0/bits/stl_vector.h:829:17,
inlined from 'static auto ranges::detail::to_container::fn<MetaFn>::impl(Rng&&, std::true_type) [with Cont = std::vector<std::variant<dxfcpp::tools::ConnectTool, dxfcpp::tools::DumpTool, dxfcpp::tools::HelpTool, dxfcpp::tools::LatencyTest, dxfcpp::tools::PerfTestTool, dxfcpp::tools::QdsTool> >; I = ranges::basic_iterator<ranges::adaptor_cursor<std::__detail::_Node_const_iterator<std::pair<const std::__cxx11::basic_string<char>, std::variant<dxfcpp::tools::ConnectTool, dxfcpp::tools::DumpTool, dxfcpp::tools::HelpTool, dxfcpp::tools::LatencyTest, dxfcpp::tools::PerfTestTool, dxfcpp::tools::QdsTool> >, false, true>, ranges::iter_transform_view<ranges::ref_view<const std::unordered_map<std::__cxx11::basic_string<char>, std::variant<dxfcpp::tools::ConnectTool, dxfcpp::tools::DumpTool, dxfcpp::tools::HelpTool, dxfcpp::tools::LatencyTest, dxfcpp::tools::PerfTestTool, dxfcpp::tools::QdsTool> > >, ranges::indirected<ranges::detail::get_second> >::adaptor<false> > >; Rng = ranges::transform_view<ranges::ref_view<const std::unordered_map<std::__cxx11::basic_string<char>, std::variant<dxfcpp::tools::ConnectTool, dxfcpp::tools::DumpTool, dxfcpp::tools::HelpTool, dxfcpp::tools::LatencyTest, dxfcpp::tools::PerfTestTool, dxfcpp::tools::QdsTool> > >, ranges::detail::get_second>; MetaFn = ranges::detail::from_range<std::vector>]' at C:/w3/dxfeed-graal-cxx-api/third_party/range-v3-0.12/include/range/v3/range/conversion.hpp:330:25,
inlined from 'ranges::detail::to_container::container_t<MetaFn, Rng> ranges::detail::to_container::fn<MetaFn>::operator()(Rng&&) const [with Rng = ranges::transform_view<ranges::ref_view<const std::unordered_map<std::__cxx11::basic_string<char>, std::variant<dxfcpp::tools::ConnectTool, dxfcpp::tools::DumpTool, dxfcpp::tools::HelpTool, dxfcpp::tools::LatencyTest, dxfcpp::tools::PerfTestTool, dxfcpp::tools::QdsTool> > >, ranges::detail::get_second>; MetaFn = ranges::detail::from_range<std::vector>]' at C:/w3/dxfeed-graal-cxx-api/third_party/range-v3-0.12/include/range/v3/range/conversion.hpp:346:86,
inlined from 'concepts::return_t<typename MetaFn::invoke<Rng>, typename std::enable_if<(invocable<ranges::detail::to_container::fn<MetaFn>, Rng> && concepts::detail::CPP_true_fn(concepts::detail::KnightsWhoSayNil{})), void>::type> ranges::detail::operator|(Rng&&, to_container::closure<MetaFn, to_container::fn<MetaFn> > (*)(to_container)) [with Rng = ranges::transform_view<ranges::ref_view<const std::unordered_map<std::__cxx11::basic_string<char>, std::variant<dxfcpp::tools::ConnectTool, dxfcpp::tools::DumpTool, dxfcpp::tools::HelpTool, dxfcpp::tools::LatencyTest, dxfcpp::tools::PerfTestTool, dxfcpp::tools::QdsTool> > >, get_second>; MetaFn = from_range<std::vector>]' at C:/w3/dxfeed-graal-cxx-api/third_party/range-v3-0.12/include/range/v3/range/conversion.hpp:54:61,
inlined from 'void __static_initialization_and_destruction_0()' at C:/w3/dxfeed-graal-cxx-api/tools/Tools/src/Tools.cpp:403:77:
C:/msys64/mingw64/include/c++/14.1.0/bits/stl_iterator_base_funcs.h:162:7: warning: iteration 9223372036854775807 invokes undefined behavior [-Waggressive-loop-optimizations]
162 | while (__n--)
| ^~~~~
C:/msys64/mingw64/include/c++/14.1.0/bits/stl_iterator_base_funcs.h:162:7: note: within this loop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment