AODQ / pulchritude-engine

lingua franca game engine
MIT License
0 stars 0 forks source link

Error when compiling with cmake #26

Closed L0932 closed 2 years ago

L0932 commented 2 years ago

bug description

In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/c++allocator.h:33,
                 from /usr/include/c++/9/bits/allocator.h:46,
                 from /usr/include/c++/9/unordered_map:40,
                 from /mnt/e/Engines/pulchritude-examples/pulchritude-engine/library/ecs/src/ecs.cpp:3:
/usr/include/c++/9/ext/new_allocator.h: In instantiation of ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = std::pair<const long unsigned int, {anonymous}::ComponentInfo>; _Args = {long unsigned int&, const long unsigned int&}; _Tp = std::__detail::_Hash_node<std::pair<const long unsigned int, {anonymous}::ComponentInfo>, false>]’:
/usr/include/c++/9/bits/alloc_traits.h:483:4:   required from ‘static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = std::pair<const long unsigned int, {anonymous}::ComponentInfo>; _Args = {long unsigned int&, const long unsigned int&}; _Tp = std::__detail::_Hash_node<std::pair<const long unsigned int, {anonymous}::ComponentInfo>, false>; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<std::__detail::_Hash_node<std::pair<const long unsigned int, {anonymous}::ComponentInfo>, false> >]’
/usr/include/c++/9/bits/hashtable_policy.h:2086:36:   required from ‘std::__detail::_Hashtable_alloc<_NodeAlloc>::__node_type* std::__detail::_Hashtable_alloc<_NodeAlloc>::_M_allocate_node(_Args&& ...) [with _Args = {long unsigned int&, const long unsigned int&}; _NodeAlloc = std::allocator<std::__detail::_Hash_node<std::pair<const long unsigned int, {anonymous}::ComponentInfo>, false> >; std::__detail::_Hashtable_alloc<_NodeAlloc>::__node_type = std::__detail::_Hash_node<std::pair<const long unsigned int, {anonymous}::ComponentInfo>, false>]’
/usr/include/c++/9/bits/hashtable.h:1673:15:   required from ‘std::pair<typename std::__detail::_Hashtable_base<_Key, _Value, _ExtractKey, _Equal, _H1, _H2, _Hash, _Traits>::iterator, bool> std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits>::_M_emplace(std::true_type, _Args&& ...) [with _Args = {long unsigned int&, const long unsigned int&}; _Key = long unsigned int; _Value = std::pair<const long unsigned int, {anonymous}::ComponentInfo>; _Alloc = std::allocator<std::pair<const long unsigned int, {anonymous}::ComponentInfo> >; _ExtractKey = std::__detail::_Select1st; _Equal = std::equal_to<long unsigned int>; _H1 = std::hash<long unsigned int>; _H2 = std::__detail::_Mod_range_hashing; _Hash = std::__detail::_Default_ranged_hash; _RehashPolicy = std::__detail::_Prime_rehash_policy; _Traits = std::__detail::_Hashtable_traits<false, false, true>; typename std::__detail::_Hashtable_base<_Key, _Value, _ExtractKey, _Equal, _H1, _H2, _Hash, _Traits>::iterator = std::__detail::_Node_iterator<std::pair<const long unsigned int, {anonymous}::ComponentInfo>, false, false>; std::true_type = std::integral_constant<bool, true>]’
/usr/include/c++/9/bits/hashtable.h:781:69:   required from ‘std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits>::__ireturn_type std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits>::emplace(_Args&& ...) [with _Args = {long unsigned int&, const long unsigned int&}; _Key = long unsigned int; _Value = std::pair<const long unsigned int, {anonymous}::ComponentInfo>; _Alloc = std::allocator<std::pair<const long unsigned int, {anonymous}::ComponentInfo> >; _ExtractKey = std::__detail::_Select1st; _Equal = std::equal_to<long unsigned int>; _H1 = std::hash<long unsigned int>; _H2 = std::__detail::_Mod_range_hashing; _Hash = std::__detail::_Default_ranged_hash; _RehashPolicy = std::__detail::_Prime_rehash_policy; _Traits = std::__detail::_Hashtable_traits<false, false, true>; std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits>::__ireturn_type = std::pair<std::__detail::_Node_iterator<std::pair<const long unsigned int, {anonymous}::ComponentInfo>, false, false>, bool>]’
/usr/include/c++/9/bits/unordered_map.h:389:54:   required from ‘std::pair<typename std::_Hashtable<_Key, std::pair<const _Key, _Tp>, _Alloc, std::__detail::_Select1st, _Pred, _Hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<std::__not_<std::__and_<std::__is_fast_hash<_Hash>, std::__is_nothrow_invocable<const _Hash&, const _Key&> > >::value, false, true> >::iterator, bool> std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::emplace(_Args&& ...) [with _Args = {long unsigned int&, const long unsigned int&}; _Key = long unsigned int; _Tp = {anonymous}::ComponentInfo; _Hash = std::hash<long unsigned int>; _Pred = std::equal_to<long unsigned int>; _Alloc = std::allocator<std::pair<const long unsigned int, {anonymous}::ComponentInfo> >; typename std::_Hashtable<_Key, std::pair<const _Key, _Tp>, _Alloc, std::__detail::_Select1st, _Pred, _Hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<std::__not_<std::__and_<std::__is_fast_hash<_Hash>, std::__is_nothrow_invocable<const _Hash&, const _Key&> > >::value, false, true> >::iterator = std::__detail::_Node_iterator<std::pair<const long unsigned int, {anonymous}::ComponentInfo>, false, false>]’
/mnt/e/Engines/pulchritude-examples/pulchritude-engine/library/ecs/src/ecs.cpp:54:60:   required from here
/usr/include/c++/9/ext/new_allocator.h:146:4: error: no matching function for call to ‘std::pair<const long unsigned int, {anonymous}::ComponentInfo>::pair(long unsigned int&, const long unsigned int&)’
  146 |  { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/9/unordered_map:43,
                 from /mnt/e/Engines/pulchritude-examples/pulchritude-engine/library/ecs/src/ecs.cpp:3:
/usr/include/c++/9/bits/stl_pair.h:436:9: note: candidate: ‘template<class ... _Args1, long unsigned int ..._Indexes1, class ... _Args2, long unsigned int ..._Indexes2> std::pair<_T1, _T2>::pair(std::tuple<_Args1 ...>&, std::tuple<_Args2 ...>&, std::_Index_tuple<_Indexes1 ...>, std::_Index_tuple<_Indexes2 ...>)’
  436 |         pair(tuple<_Args1...>&, tuple<_Args2...>&,
      |         ^~~~
/usr/include/c++/9/bits/stl_pair.h:436:9: note:   template argument deduction/substitution failed:
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/c++allocator.h:33,
                 from /usr/include/c++/9/bits/allocator.h:46,
                 from /usr/include/c++/9/unordered_map:40,
                 from /mnt/e/Engines/pulchritude-examples/pulchritude-engine/library/ecs/src/ecs.cpp:3:
/usr/include/c++/9/ext/new_allocator.h:146:4: note:   mismatched types ‘std::tuple<_Tps ...>’ and ‘long unsigned int’
  146 |  { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/9/unordered_map:43,
                 from /mnt/e/Engines/pulchritude-examples/pulchritude-engine/library/ecs/src/ecs.cpp:3:
/usr/include/c++/9/bits/stl_pair.h:375:9: note: candidate: ‘template<class ... _Args1, class ... _Args2> std::pair<_T1, _T2>::pair(std::piecewise_construct_t, std::tuple<_Args1 ...>, std::tuple<_Args2 ...>)’
  375 |         pair(piecewise_construct_t, tuple<_Args1...>, tuple<_Args2...>);
      |         ^~~~
/usr/include/c++/9/bits/stl_pair.h:375:9: note:   template argument deduction/substitution failed:
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/c++allocator.h:33,
                 from /usr/include/c++/9/bits/allocator.h:46,
                 from /usr/include/c++/9/unordered_map:40,
                 from /mnt/e/Engines/pulchritude-examples/pulchritude-engine/library/ecs/src/ecs.cpp:3:
/usr/include/c++/9/ext/new_allocator.h:146:4: note:   mismatched types ‘std::tuple<_Tps ...>’ and ‘long unsigned int’
  146 |  { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/9/unordered_map:43,
                 from /mnt/e/Engines/pulchritude-examples/pulchritude-engine/library/ecs/src/ecs.cpp:3:
/usr/include/c++/9/bits/stl_pair.h:370:21: note: candidate: ‘template<class _U1, class _U2, typename std::enable_if<(std::_PCC<((! std::is_same<const long unsigned int, _U1>::value) || (! std::is_same<{anonymous}::ComponentInfo, _U2>::value)), const long unsigned int, {anonymous}::ComponentInfo>::_MoveConstructiblePair<_U1, _U2>() && (! std::_PCC<((! std::is_same<const long unsigned int, _U1>::value) || (! std::is_same<{anonymous}::ComponentInfo, _U2>::value)), const long unsigned int, {anonymous}::ComponentInfo>::_ImplicitlyMoveConvertiblePair<_U1, _U2>())), bool>::type <anonymous> > constexpr std::pair<_T1, _T2>::pair(std::pair<_U1, _U2>&&)’
  370 |  explicit constexpr pair(pair<_U1, _U2>&& __p)
      |                     ^~~~
/usr/include/c++/9/bits/stl_pair.h:370:21: note:   template argument deduction/substitution failed:
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/c++allocator.h:33,
                 from /usr/include/c++/9/bits/allocator.h:46,
                 from /usr/include/c++/9/unordered_map:40,
                 from /mnt/e/Engines/pulchritude-examples/pulchritude-engine/library/ecs/src/ecs.cpp:3:
/usr/include/c++/9/ext/new_allocator.h:146:4: note:   mismatched types ‘std::pair<_T1, _T2>’ and ‘long unsigned int’
  146 |  { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/9/unordered_map:43,
                 from /mnt/e/Engines/pulchritude-examples/pulchritude-engine/library/ecs/src/ecs.cpp:3:
/usr/include/c++/9/bits/stl_pair.h:360:12: note: candidate: ‘template<class _U1, class _U2, typename std::enable_if<(std::_PCC<((! std::is_same<const long unsigned int, _U1>::value) || (! std::is_same<{anonymous}::ComponentInfo, _U2>::value)), const long unsigned int, {anonymous}::ComponentInfo>::_MoveConstructiblePair<_U1, _U2>() && std::_PCC<((! std::is_same<const long unsigned int, _U1>::value) || (! std::is_same<{anonymous}::ComponentInfo, _U2>::value)), const long unsigned int, {anonymous}::ComponentInfo>::_ImplicitlyMoveConvertiblePair<_U1, _U2>()), bool>::type <anonymous> > constexpr std::pair<_T1, _T2>::pair(std::pair<_U1, _U2>&&)’
  360 |  constexpr pair(pair<_U1, _U2>&& __p)
      |            ^~~~
/usr/include/c++/9/bits/stl_pair.h:360:12: note:   template argument deduction/substitution failed:
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/c++allocator.h:33,
                 from /usr/include/c++/9/bits/allocator.h:46,
                 from /usr/include/c++/9/unordered_map:40,
                 from /mnt/e/Engines/pulchritude-examples/pulchritude-engine/library/ecs/src/ecs.cpp:3:
/usr/include/c++/9/ext/new_allocator.h:146:4: note:   mismatched types ‘std::pair<_T1, _T2>’ and ‘long unsigned int’
  146 |  { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/9/unordered_map:43,
                 from /mnt/e/Engines/pulchritude-examples/pulchritude-engine/library/ecs/src/ecs.cpp:3:
/usr/include/c++/9/bits/stl_pair.h:350:21: note: candidate: ‘template<class _U1, class _U2, typename std::enable_if<(_MoveConstructiblePair<_U1, _U2>() && (! _ImplicitlyMoveConvertiblePair<_U1, _U2>())), bool>::type <anonymous> > constexpr std::pair<_T1, _T2>::pair(_U1&&, _U2&&)’
  350 |  explicit constexpr pair(_U1&& __x, _U2&& __y)
      |                     ^~~~
/usr/include/c++/9/bits/stl_pair.h:350:21: note:   template argument deduction/substitution failed:
/usr/include/c++/9/bits/stl_pair.h:349:38: error: no type named ‘type’ in ‘struct std::enable_if<false, bool>’
  349 |                          bool>::type=false>
      |                                      ^~~~~
/usr/include/c++/9/bits/stl_pair.h:341:12: note: candidate: ‘template<class _U1, class _U2, typename std::enable_if<(_MoveConstructiblePair<_U1, _U2>() && _ImplicitlyMoveConvertiblePair<_U1, _U2>()), bool>::type <anonymous> > constexpr std::pair<_T1, _T2>::pair(_U1&&, _U2&&)’
  341 |  constexpr pair(_U1&& __x, _U2&& __y)
      |            ^~~~
/usr/include/c++/9/bits/stl_pair.h:341:12: note:   template argument deduction/substitution failed:
/usr/include/c++/9/bits/stl_pair.h:340:38: error: no type named ‘type’ in ‘struct std::enable_if<false, bool>’
  340 |                          bool>::type=true>
      |                                      ^~~~
/usr/include/c++/9/bits/stl_pair.h:332:17: note: candidate: ‘template<class _U2, typename std::enable_if<_CopyMovePair<false, const long unsigned int, _U2>(), bool>::type <anonymous> > std::pair<_T1, _T2>::pair(const _T1&, _U2&&)’
  332 |        explicit pair(const _T1& __x, _U2&& __y)
      |                 ^~~~
/usr/include/c++/9/bits/stl_pair.h:332:17: note:   template argument deduction/substitution failed:
/usr/include/c++/9/bits/stl_pair.h:331:38: error: no type named ‘type’ in ‘struct std::enable_if<false, bool>’
  331 |                          bool>::type=false>
      |                                      ^~~~~
/usr/include/c++/9/bits/stl_pair.h:325:18: note: candidate: ‘template<class _U2, typename std::enable_if<_CopyMovePair<true, const long unsigned int, _U2>(), bool>::type <anonymous> > constexpr std::pair<_T1, _T2>::pair(const _T1&, _U2&&)’
  325 |        constexpr pair(const _T1& __x, _U2&& __y)
      |                  ^~~~
/usr/include/c++/9/bits/stl_pair.h:325:18: note:   template argument deduction/substitution failed:
/usr/include/c++/9/bits/stl_pair.h:324:38: error: no type named ‘type’ in ‘struct std::enable_if<false, bool>’
  324 |                          bool>::type=true>
      |                                      ^~~~
/usr/include/c++/9/bits/stl_pair.h:318:27: note: candidate: ‘template<class _U1, typename std::enable_if<_MoveCopyPair<false, _U1, {anonymous}::ComponentInfo>(), bool>::type <anonymous> > constexpr std::pair<_T1, _T2>::pair(_U1&&, const _T2&)’
  318 |        explicit constexpr pair(_U1&& __x, const _T2& __y)
      |                           ^~~~
/usr/include/c++/9/bits/stl_pair.h:318:27: note:   template argument deduction/substitution failed:
/usr/include/c++/9/bits/stl_pair.h:317:38: error: no type named ‘type’ in ‘struct std::enable_if<false, bool>’
  317 |                          bool>::type=false>
      |                                      ^~~~~
/usr/include/c++/9/bits/stl_pair.h:311:18: note: candidate: ‘template<class _U1, typename std::enable_if<_MoveCopyPair<true, _U1, {anonymous}::ComponentInfo>(), bool>::type <anonymous> > constexpr std::pair<_T1, _T2>::pair(_U1&&, const _T2&)’
  311 |        constexpr pair(_U1&& __x, const _T2& __y)
      |                  ^~~~
/usr/include/c++/9/bits/stl_pair.h:311:18: note:   template argument deduction/substitution failed:
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/c++allocator.h:33,
                 from /usr/include/c++/9/bits/allocator.h:46,
                 from /usr/include/c++/9/unordered_map:40,
                 from /mnt/e/Engines/pulchritude-examples/pulchritude-engine/library/ecs/src/ecs.cpp:3:
/usr/include/c++/9/ext/new_allocator.h:146:4: note:   cannot convert ‘std::forward<const long unsigned int&>((* & __args#1))’ (type ‘const long unsigned int’) to type ‘const {anonymous}::ComponentInfo&’
  146 |  { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/9/unordered_map:43,
                 from /mnt/e/Engines/pulchritude-examples/pulchritude-engine/library/ecs/src/ecs.cpp:3:
/usr/include/c++/9/bits/stl_pair.h:304:17: note: candidate: ‘constexpr std::pair<_T1, _T2>::pair(std::pair<_T1, _T2>&&) [with _T1 = const long unsigned int; _T2 = {anonymous}::ComponentInfo]’
  304 |       constexpr pair(pair&&) = default;
      |                 ^~~~
/usr/include/c++/9/bits/stl_pair.h:304:17: note:   candidate expects 1 argument, 2 provided
/usr/include/c++/9/bits/stl_pair.h:303:17: note: candidate: ‘constexpr std::pair<_T1, _T2>::pair(const std::pair<_T1, _T2>&) [with _T1 = const long unsigned int; _T2 = {anonymous}::ComponentInfo]’
  303 |       constexpr pair(const pair&) = default;
      |                 ^~~~
/usr/include/c++/9/bits/stl_pair.h:303:17: note:   candidate expects 1 argument, 2 provided
/usr/include/c++/9/bits/stl_pair.h:300:21: note: candidate: ‘template<class _U1, class _U2, typename std::enable_if<(std::_PCC<((! std::is_same<const long unsigned int, _U1>::value) || (! std::is_same<{anonymous}::ComponentInfo, _U2>::value)), const long unsigned int, {anonymous}::ComponentInfo>::_ConstructiblePair<_U1, _U2>() && (! std::_PCC<((! std::is_same<const long unsigned int, _U1>::value) || (! std::is_same<{anonymous}::ComponentInfo, _U2>::value)), const long unsigned int, {anonymous}::ComponentInfo>::_ImplicitlyConvertiblePair<_U1, _U2>())), bool>::type <anonymous> > constexpr std::pair<_T1, _T2>::pair(const std::pair<_U1, _U2>&)’
  300 |  explicit constexpr pair(const pair<_U1, _U2>& __p)
      |                     ^~~~
/usr/include/c++/9/bits/stl_pair.h:300:21: note:   template argument deduction/substitution failed:
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/c++allocator.h:33,
                 from /usr/include/c++/9/bits/allocator.h:46,
                 from /usr/include/c++/9/unordered_map:40,
                 from /mnt/e/Engines/pulchritude-examples/pulchritude-engine/library/ecs/src/ecs.cpp:3:
/usr/include/c++/9/ext/new_allocator.h:146:4: note:   mismatched types ‘const std::pair<_T1, _T2>’ and ‘long unsigned int’
  146 |  { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/9/unordered_map:43,
                 from /mnt/e/Engines/pulchritude-examples/pulchritude-engine/library/ecs/src/ecs.cpp:3:
/usr/include/c++/9/bits/stl_pair.h:291:19: note: candidate: ‘template<class _U1, class _U2, typename std::enable_if<(std::_PCC<((! std::is_same<const long unsigned int, _U1>::value) || (! std::is_same<{anonymous}::ComponentInfo, _U2>::value)), const long unsigned int, {anonymous}::ComponentInfo>::_ConstructiblePair<_U1, _U2>() && std::_PCC<((! std::is_same<const long unsigned int, _U1>::value) || (! std::is_same<{anonymous}::ComponentInfo, _U2>::value)), const long unsigned int, {anonymous}::ComponentInfo>::_ImplicitlyConvertiblePair<_U1, _U2>()), bool>::type <anonymous> > constexpr std::pair<_T1, _T2>::pair(const std::pair<_U1, _U2>&)’
  291 |         constexpr pair(const pair<_U1, _U2>& __p)
      |                   ^~~~
/usr/include/c++/9/bits/stl_pair.h:291:19: note:   template argument deduction/substitution failed:
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/c++allocator.h:33,
                 from /usr/include/c++/9/bits/allocator.h:46,
                 from /usr/include/c++/9/unordered_map:40,
                 from /mnt/e/Engines/pulchritude-examples/pulchritude-engine/library/ecs/src/ecs.cpp:3:
/usr/include/c++/9/ext/new_allocator.h:146:4: note:   mismatched types ‘const std::pair<_T1, _T2>’ and ‘long unsigned int’
  146 |  { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/9/unordered_map:43,
                 from /mnt/e/Engines/pulchritude-examples/pulchritude-engine/library/ecs/src/ecs.cpp:3:
/usr/include/c++/9/bits/stl_pair.h:269:26: note: candidate: ‘template<class _U1, class _U2, typename std::enable_if<(_ConstructiblePair<_U1, _U2>() && (! _ImplicitlyConvertiblePair<_U1, _U2>())), bool>::type <anonymous> > constexpr std::pair<_T1, _T2>::pair(const _T1&, const _T2&)’
  269 |       explicit constexpr pair(const _T1& __a, const _T2& __b)
      |                          ^~~~
/usr/include/c++/9/bits/stl_pair.h:269:26: note:   template argument deduction/substitution failed:
/usr/include/c++/9/bits/stl_pair.h:268:38: error: no type named ‘type’ in ‘struct std::enable_if<false, bool>’
  268 |                          bool>::type=false>
      |                                      ^~~~~
/usr/include/c++/9/bits/stl_pair.h:260:17: note: candidate: ‘template<class _U1, class _U2, typename std::enable_if<(_ConstructiblePair<_U1, _U2>() && _ImplicitlyConvertiblePair<_U1, _U2>()), bool>::type <anonymous> > constexpr std::pair<_T1, _T2>::pair(const _T1&, const _T2&)’
  260 |       constexpr pair(const _T1& __a, const _T2& __b)
      |                 ^~~~
/usr/include/c++/9/bits/stl_pair.h:260:17: note:   template argument deduction/substitution failed:
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/c++allocator.h:33,
                 from /usr/include/c++/9/bits/allocator.h:46,
                 from /usr/include/c++/9/unordered_map:40,
                 from /mnt/e/Engines/pulchritude-examples/pulchritude-engine/library/ecs/src/ecs.cpp:3:
/usr/include/c++/9/ext/new_allocator.h:146:4: note:   cannot convert ‘std::forward<const long unsigned int&>((* & __args#1))’ (type ‘const long unsigned int’) to type ‘const {anonymous}::ComponentInfo&’
  146 |  { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/9/unordered_map:43,
                 from /mnt/e/Engines/pulchritude-examples/pulchritude-engine/library/ecs/src/ecs.cpp:3:
/usr/include/c++/9/bits/stl_pair.h:242:26: note: candidate: ‘template<class _U1, class _U2, typename std::enable_if<std::__and_<std::is_default_constructible<_Tp>, std::is_default_constructible<_U2>, std::__not_<std::__and_<std::__is_implicitly_default_constructible<_U1>, std::__is_implicitly_default_constructible<_U2> > > >::value, bool>::type <anonymous> > constexpr std::pair<_T1, _T2>::pair()’
  242 |       explicit constexpr pair()
      |                          ^~~~
/usr/include/c++/9/bits/stl_pair.h:242:26: note:   template argument deduction/substitution failed:
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/c++allocator.h:33,
                 from /usr/include/c++/9/bits/allocator.h:46,
                 from /usr/include/c++/9/unordered_map:40,
                 from /mnt/e/Engines/pulchritude-examples/pulchritude-engine/library/ecs/src/ecs.cpp:3:
/usr/include/c++/9/ext/new_allocator.h:146:4: note:   candidate expects 0 arguments, 2 provided
  146 |  { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/9/unordered_map:43,
                 from /mnt/e/Engines/pulchritude-examples/pulchritude-engine/library/ecs/src/ecs.cpp:3:
/usr/include/c++/9/bits/stl_pair.h:229:26: note: candidate: ‘template<class _U1, class _U2, typename std::enable_if<std::__and_<std::__is_implicitly_default_constructible<_U1>, std::__is_implicitly_default_constructible<_U2> >::value, bool>::type <anonymous> > constexpr std::pair<_T1, _T2>::pair()’
  229 |       _GLIBCXX_CONSTEXPR pair()
      |                          ^~~~
/usr/include/c++/9/bits/stl_pair.h:229:26: note:   template argument deduction/substitution failed:
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/c++allocator.h:33,
                 from /usr/include/c++/9/bits/allocator.h:46,
                 from /usr/include/c++/9/unordered_map:40,
                 from /mnt/e/Engines/pulchritude-examples/pulchritude-engine/library/ecs/src/ecs.cpp:3:
/usr/include/c++/9/ext/new_allocator.h:146:4: note:   candidate expects 0 arguments, 2 provided
  146 |  { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

how to reproduce make -j8 install

specs

AODQ commented 2 years ago

@L0932 check if you can progress farther in the build with dev/windows-gcc-build-errors

L0932 commented 2 years ago

Tested the recent commit on dev/windows-gcc-build-errors and it looks like the issue was fixed