Skip to content

Build failure using latest clang and GCC compilers #1020

@xvitaly

Description

@xvitaly

Version:

-- The C compiler identification is Clang 6.0.0
-- The CXX compiler identification is Clang 6.0.0
-- Check for working C compiler: /usr/bin/clang
-- Check for working C compiler: /usr/bin/clang -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/clang++
-- Check for working CXX compiler: /usr/bin/clang++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done

Trying to build latest commit of matrix-structs, but got this error:

[  2%] Building CXX object CMakeFiles/matrix_structs.dir/src/events.cpp.o
clang-6.0: warning: argument unused during compilation: '-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1' [-Wunused-command-line-argument]
clang-6.0: warning: argument unused during compilation: '-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1' [-Wunused-command-line-argument]
In file included from /builddir/build/BUILD/nheko-480de2d30bcd82ed3beeab5fad9b2a55d34b4990/.third-party/matrix_structs/src/events.cpp:1:
In file included from /builddir/build/BUILD/nheko-480de2d30bcd82ed3beeab5fad9b2a55d34b4990/.third-party/matrix_structs/include/mtx/events.hpp:3:
In file included from /builddir/build/BUILD/nheko-480de2d30bcd82ed3beeab5fad9b2a55d34b4990/.third-party/matrix_structs/deps/json.hpp:40:
In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/functional:49:
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/stl_function.h:545:9: error: redefinition of '__not_overloaded<_Tp, _Up>'
        struct __not_overloaded<_Tp, _Up> : __not_overloaded2<_Tp, _Up> { };
               ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/stl_function.h:531:9: note: previous definition is here
        struct __not_overloaded<_Tp, _Up, __void_t<
               ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/stl_function.h:608:9: error: redefinition of '__not_overloaded<_Tp, _Up>'
        struct __not_overloaded<_Tp, _Up> : __not_overloaded2<_Tp, _Up> { };
               ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/stl_function.h:594:9: note: previous definition is here
        struct __not_overloaded<_Tp, _Up, __void_t<
               ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/stl_function.h:671:9: error: redefinition of '__not_overloaded<_Tp, _Up>'
        struct __not_overloaded<_Tp, _Up> : __not_overloaded2<_Tp, _Up> { };
               ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/stl_function.h:657:9: note: previous definition is here
        struct __not_overloaded<_Tp, _Up, __void_t<
               ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/stl_function.h:734:9: error: redefinition of '__not_overloaded<_Tp, _Up>'
        struct __not_overloaded<_Tp, _Up> : __not_overloaded2<_Tp, _Up> { };
               ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/stl_function.h:720:9: note: previous definition is here
        struct __not_overloaded<_Tp, _Up, __void_t<
               ^
In file included from /builddir/build/BUILD/nheko-480de2d30bcd82ed3beeab5fad9b2a55d34b4990/.third-party/matrix_structs/src/events.cpp:1:
In file included from /builddir/build/BUILD/nheko-480de2d30bcd82ed3beeab5fad9b2a55d34b4990/.third-party/matrix_structs/include/mtx/events.hpp:3:
In file included from /builddir/build/BUILD/nheko-480de2d30bcd82ed3beeab5fad9b2a55d34b4990/.third-party/matrix_structs/deps/json.hpp:36:
In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/algorithm:60:
In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/utility:70:
In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/stl_pair.h:59:
In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/move.h:55:
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/type_traits:149:26: error: implicit instantiation of undefined template 'std::less<void>::__not_overloaded<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > &, const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > &, void>'
    : public conditional<_B1::value, __and_<_B2, _B3, _Bn...>, _B1>::type
                         ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/stl_function.h:564:4: note: in instantiation of template class 'std::__and_<std::less<void>::__not_overloaded<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > &, const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > &, void>, std::is_convertible<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > &, const volatile void *>, std::is_convertible<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > &, const volatile void *> >' requested here
                        __ptr_cmp<_Tp, _Up>{});
                        ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/stl_tree.h:2054:13: note: in instantiation of function template specialization 'std::less<void>::operator()<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > &, const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > &>' requested here
          __comp = _M_impl._M_key_compare(__k, _S_key(__x));
                   ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/stl_tree.h:2372:19: note: in instantiation of member function 'std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> >, std::_Select1st<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> > >, std::less<void>, std::allocator<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> > > >::_M_get_insert_unique_pos' requested here
            auto __res = _M_get_insert_unique_pos(_S_key(__z));
                         ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/stl_map.h:575:16: note: in instantiation of function template specialization 'std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> >, std::_Select1st<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> > >, std::less<void>, std::allocator<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> > > >::_M_emplace_unique<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> >' requested here
        { return _M_t._M_emplace_unique(std::forward<_Args>(__args)...); }
                      ^
/builddir/build/BUILD/nheko-480de2d30bcd82ed3beeab5fad9b2a55d34b4990/.third-party/matrix_structs/deps/json.hpp:3348:48: note: in instantiation of function template specialization 'std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer>, std::less<void>, std::allocator<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> > > >::emplace<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> >' requested here
                        result.m_value.object->emplace(std::move(key), std::move(value));
                                               ^
/builddir/build/BUILD/nheko-480de2d30bcd82ed3beeab5fad9b2a55d34b4990/.third-party/matrix_structs/deps/json.hpp:3205:9: note: in instantiation of member function 'nlohmann::detail::parser<nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> >::parse_internal' requested here
        parse_internal(true, result);
        ^
/builddir/build/BUILD/nheko-480de2d30bcd82ed3beeab5fad9b2a55d34b4990/.third-party/matrix_structs/deps/json.hpp:15692:74: note: in instantiation of member function 'nlohmann::detail::parser<nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> >::parse' requested here
        parser(detail::input_adapter(first, last), cb, allow_exceptions).parse(true, result);
                                                                         ^
/builddir/build/BUILD/nheko-480de2d30bcd82ed3beeab5fad9b2a55d34b4990/.third-party/matrix_structs/deps/json.hpp:17254:28: note: in instantiation of function template specialization 'nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer>::parse<const char *, 0>' requested here
    return nlohmann::json::parse(s, s + n);
                           ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/stl_function.h:590:9: note: template is declared here
        struct __not_overloaded;
               ^
In file included from /builddir/build/BUILD/nheko-480de2d30bcd82ed3beeab5fad9b2a55d34b4990/.third-party/matrix_structs/src/events.cpp:1:
In file included from /builddir/build/BUILD/nheko-480de2d30bcd82ed3beeab5fad9b2a55d34b4990/.third-party/matrix_structs/include/mtx/events.hpp:3:
In file included from /builddir/build/BUILD/nheko-480de2d30bcd82ed3beeab5fad9b2a55d34b4990/.third-party/matrix_structs/deps/json.hpp:53:
In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/map:60:
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/stl_tree.h:2065:11: error: no matching function for call to object of type 'std::less<void>'
      if (_M_impl._M_key_compare(_S_key(__j._M_node), __k))
          ^~~~~~~~~~~~~~~~~~~~~~
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/stl_tree.h:2372:19: note: in instantiation of member function 'std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> >, std::_Select1st<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> > >, std::less<void>, std::allocator<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> > > >::_M_get_insert_unique_pos' requested here
            auto __res = _M_get_insert_unique_pos(_S_key(__z));
                         ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/stl_map.h:575:16: note: in instantiation of function template specialization 'std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> >, std::_Select1st<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> > >, std::less<void>, std::allocator<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> > > >::_M_emplace_unique<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> >' requested here
        { return _M_t._M_emplace_unique(std::forward<_Args>(__args)...); }
                      ^
/builddir/build/BUILD/nheko-480de2d30bcd82ed3beeab5fad9b2a55d34b4990/.third-party/matrix_structs/deps/json.hpp:3348:48: note: in instantiation of function template specialization 'std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer>, std::less<void>, std::allocator<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> > > >::emplace<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> >' requested here
                        result.m_value.object->emplace(std::move(key), std::move(value));
                                               ^
/builddir/build/BUILD/nheko-480de2d30bcd82ed3beeab5fad9b2a55d34b4990/.third-party/matrix_structs/deps/json.hpp:3205:9: note: in instantiation of member function 'nlohmann::detail::parser<nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> >::parse_internal' requested here
        parse_internal(true, result);
        ^
/builddir/build/BUILD/nheko-480de2d30bcd82ed3beeab5fad9b2a55d34b4990/.third-party/matrix_structs/deps/json.hpp:15692:74: note: in instantiation of member function 'nlohmann::detail::parser<nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> >::parse' requested here
        parser(detail::input_adapter(first, last), cb, allow_exceptions).parse(true, result);
                                                                         ^
/builddir/build/BUILD/nheko-480de2d30bcd82ed3beeab5fad9b2a55d34b4990/.third-party/matrix_structs/deps/json.hpp:17254:28: note: in instantiation of function template specialization 'nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer>::parse<const char *, 0>' requested here
    return nlohmann::json::parse(s, s + n);
                           ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/stl_function.h:559:2: note: candidate template ignored: substitution failure [with _Tp = const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > &, _Up = const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > &]
        operator()(_Tp&& __t, _Up&& __u) const
        ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/stl_function.h:569:2: note: candidate template ignored: could not match '_Tp *' against 'std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >'
        operator()(_Tp* __t, _Up* __u) const noexcept
        ^
In file included from /builddir/build/BUILD/nheko-480de2d30bcd82ed3beeab5fad9b2a55d34b4990/.third-party/matrix_structs/src/events.cpp:1:
In file included from /builddir/build/BUILD/nheko-480de2d30bcd82ed3beeab5fad9b2a55d34b4990/.third-party/matrix_structs/include/mtx/events.hpp:3:
In file included from /builddir/build/BUILD/nheko-480de2d30bcd82ed3beeab5fad9b2a55d34b4990/.third-party/matrix_structs/deps/json.hpp:53:
In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/map:60:
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/stl_tree.h:2317:11: error: no matching function for call to object of type 'std::less<void>'
                            || _M_impl._M_key_compare(_S_key(__z),
                               ^~~~~~~~~~~~~~~~~~~~~~
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/stl_tree.h:2374:20: note: in instantiation of member function 'std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> >, std::_Select1st<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> > >, std::less<void>, std::allocator<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> > > >::_M_insert_node' requested here
              return _Res(_M_insert_node(__res.first, __res.second, __z), true);
                          ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/stl_map.h:575:16: note: in instantiation of function template specialization 'std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> >, std::_Select1st<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> > >, std::less<void>, std::allocator<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> > > >::_M_emplace_unique<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> >' requested here
        { return _M_t._M_emplace_unique(std::forward<_Args>(__args)...); }
                      ^
/builddir/build/BUILD/nheko-480de2d30bcd82ed3beeab5fad9b2a55d34b4990/.third-party/matrix_structs/deps/json.hpp:3348:48: note: in instantiation of function template specialization 'std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer>, std::less<void>, std::allocator<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> > > >::emplace<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> >' requested here
                        result.m_value.object->emplace(std::move(key), std::move(value));
                                               ^
/builddir/build/BUILD/nheko-480de2d30bcd82ed3beeab5fad9b2a55d34b4990/.third-party/matrix_structs/deps/json.hpp:3205:9: note: in instantiation of member function 'nlohmann::detail::parser<nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> >::parse_internal' requested here
        parse_internal(true, result);
        ^
/builddir/build/BUILD/nheko-480de2d30bcd82ed3beeab5fad9b2a55d34b4990/.third-party/matrix_structs/deps/json.hpp:15692:74: note: in instantiation of member function 'nlohmann::detail::parser<nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> >::parse' requested here
        parser(detail::input_adapter(first, last), cb, allow_exceptions).parse(true, result);
                                                                         ^
/builddir/build/BUILD/nheko-480de2d30bcd82ed3beeab5fad9b2a55d34b4990/.third-party/matrix_structs/deps/json.hpp:17254:28: note: in instantiation of function template specialization 'nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer>::parse<const char *, 0>' requested here
    return nlohmann::json::parse(s, s + n);
                           ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/stl_function.h:559:2: note: candidate template ignored: substitution failure [with _Tp = const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > &, _Up = const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > &]
        operator()(_Tp&& __t, _Up&& __u) const
        ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/stl_function.h:569:2: note: candidate template ignored: could not match '_Tp *' against 'std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >'
        operator()(_Tp* __t, _Up* __u) const noexcept
        ^
In file included from /builddir/build/BUILD/nheko-480de2d30bcd82ed3beeab5fad9b2a55d34b4990/.third-party/matrix_structs/src/events.cpp:1:
In file included from /builddir/build/BUILD/nheko-480de2d30bcd82ed3beeab5fad9b2a55d34b4990/.third-party/matrix_structs/include/mtx/events.hpp:3:
In file included from /builddir/build/BUILD/nheko-480de2d30bcd82ed3beeab5fad9b2a55d34b4990/.third-party/matrix_structs/deps/json.hpp:36:
In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/algorithm:60:
In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/utility:70:
In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/stl_pair.h:59:
In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/move.h:55:
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/type_traits:149:26: error: implicit instantiation of undefined template 'std::less<void>::__not_overloaded<char const (&)[5], const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > &, void>'
    : public conditional<_B1::value, __and_<_B2, _B3, _Bn...>, _B1>::type
                         ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/stl_function.h:564:4: note: in instantiation of template class 'std::__and_<std::less<void>::__not_overloaded<char const (&)[5], const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > &, void>, std::is_convertible<char const (&)[5], const volatile void *>, std::is_convertible<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > &, const volatile void *> >' requested here
                        __ptr_cmp<_Tp, _Up>{});
                        ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/stl_tree.h:1241:24: note: in instantiation of function template specialization 'std::less<void>::operator()<char const (&)[5], const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > &>' requested here
          if (__j != end() && _M_impl._M_key_compare(__k, _S_key(__j._M_node)))
                              ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/stl_tree.h:1231:25: note: in instantiation of function template specialization 'std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> >, std::_Select1st<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> > >, std::less<void>, std::allocator<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> > > >::_M_find_tr<char [5], void>' requested here
          return __const_this->_M_find_tr(__k)._M_const_cast();
                               ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/stl_map.h:1176:16: note: in instantiation of function template specialization 'std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> >, std::_Select1st<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> > >, std::less<void>, std::allocator<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> > > >::_M_find_tr<char [5], void>' requested here
        { return _M_t._M_find_tr(__x); }
                      ^
/builddir/build/BUILD/nheko-480de2d30bcd82ed3beeab5fad9b2a55d34b4990/.third-party/matrix_structs/deps/json.hpp:13498:59: note: in instantiation of function template specialization 'std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer>, std::less<void>, std::allocator<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> > > >::find<char [5]>' requested here
            result.m_it.object_iterator = m_value.object->find(std::forward<KeyT>(key));
                                                          ^
/builddir/build/BUILD/nheko-480de2d30bcd82ed3beeab5fad9b2a55d34b4990/.third-party/matrix_structs/src/events.cpp:85:17: note: in instantiation of function template specialization 'nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer>::find<char const (&)[5]>' requested here
        if (obj.find("type") != obj.end())
                ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/stl_function.h:590:9: note: template is declared here
        struct __not_overloaded;
               ^
In file included from /builddir/build/BUILD/nheko-480de2d30bcd82ed3beeab5fad9b2a55d34b4990/.third-party/matrix_structs/src/events.cpp:1:
In file included from /builddir/build/BUILD/nheko-480de2d30bcd82ed3beeab5fad9b2a55d34b4990/.third-party/matrix_structs/include/mtx/events.hpp:3:
In file included from /builddir/build/BUILD/nheko-480de2d30bcd82ed3beeab5fad9b2a55d34b4990/.third-party/matrix_structs/deps/json.hpp:36:
In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/algorithm:60:
In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/utility:70:
In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/stl_pair.h:59:
In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/move.h:55:
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/type_traits:149:26: error: implicit instantiation of undefined template 'std::less<void>::__not_overloaded<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > &, char const (&)[5], void>'
    : public conditional<_B1::value, __and_<_B2, _B3, _Bn...>, _B1>::type
                         ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/stl_function.h:564:4: note: in instantiation of template class 'std::__and_<std::less<void>::__not_overloaded<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > &, char const (&)[5], void>, std::is_convertible<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > &, const volatile void *>, std::is_convertible<char const (&)[5], const volatile void *> >' requested here
                        __ptr_cmp<_Tp, _Up>{});
                        ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/stl_tree.h:1275:11: note: in instantiation of function template specialization 'std::less<void>::operator()<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > &, char const (&)[5]>' requested here
            if (!_M_impl._M_key_compare(_S_key(__x), __k))
                 ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/stl_tree.h:1240:15: note: in instantiation of function template specialization 'std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> >, std::_Select1st<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> > >, std::less<void>, std::allocator<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> > > >::_M_lower_bound_tr<char [5], void>' requested here
          auto __j = _M_lower_bound_tr(__k);
                     ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/stl_tree.h:1231:25: note: in instantiation of function template specialization 'std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> >, std::_Select1st<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> > >, std::less<void>, std::allocator<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> > > >::_M_find_tr<char [5], void>' requested here
          return __const_this->_M_find_tr(__k)._M_const_cast();
                               ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/stl_map.h:1176:16: note: in instantiation of function template specialization 'std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> >, std::_Select1st<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> > >, std::less<void>, std::allocator<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> > > >::_M_find_tr<char [5], void>' requested here
        { return _M_t._M_find_tr(__x); }
                      ^
/builddir/build/BUILD/nheko-480de2d30bcd82ed3beeab5fad9b2a55d34b4990/.third-party/matrix_structs/deps/json.hpp:13498:59: note: in instantiation of function template specialization 'std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer>, std::less<void>, std::allocator<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> > > >::find<char [5]>' requested here
            result.m_it.object_iterator = m_value.object->find(std::forward<KeyT>(key));
                                                          ^
/builddir/build/BUILD/nheko-480de2d30bcd82ed3beeab5fad9b2a55d34b4990/.third-party/matrix_structs/src/events.cpp:85:17: note: in instantiation of function template specialization 'nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer>::find<char const (&)[5]>' requested here
        if (obj.find("type") != obj.end())
                ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/stl_function.h:590:9: note: template is declared here
        struct __not_overloaded;
               ^
In file included from /builddir/build/BUILD/nheko-480de2d30bcd82ed3beeab5fad9b2a55d34b4990/.third-party/matrix_structs/src/events.cpp:1:
In file included from /builddir/build/BUILD/nheko-480de2d30bcd82ed3beeab5fad9b2a55d34b4990/.third-party/matrix_structs/include/mtx/events.hpp:3:
In file included from /builddir/build/BUILD/nheko-480de2d30bcd82ed3beeab5fad9b2a55d34b4990/.third-party/matrix_structs/deps/json.hpp:53:
In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/map:61:
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/stl_map.h:538:22: error: no matching function for call to object of type 'std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer>, std::less<void>, std::allocator<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> > > >::key_compare' (aka 'std::less<void>')
        if (__i == end() || key_comp()(__k, (*__i).first))
                            ^~~~~~~~~~
/builddir/build/BUILD/nheko-480de2d30bcd82ed3beeab5fad9b2a55d34b4990/.third-party/matrix_structs/deps/json.hpp:12639:40: note: in instantiation of member function 'std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer>, std::less<void>, std::allocator<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> > > >::at' requested here
                return m_value.object->at(key);
                                       ^
/builddir/build/BUILD/nheko-480de2d30bcd82ed3beeab5fad9b2a55d34b4990/.third-party/matrix_structs/src/events.cpp:86:41: note: in instantiation of member function 'nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer>::at' requested here
                return getEventType(obj.at("type").get<std::string>());
                                        ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/stl_function.h:559:2: note: candidate template ignored: substitution failure [with _Tp = const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > &, _Up = const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > &]
        operator()(_Tp&& __t, _Up&& __u) const
        ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/stl_function.h:569:2: note: candidate template ignored: could not match '_Tp *' against 'std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer>, std::less<void>, std::allocator<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> > > >::key_type' (aka 'std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >')
        operator()(_Tp* __t, _Up* __u) const noexcept
        ^
In file included from /builddir/build/BUILD/nheko-480de2d30bcd82ed3beeab5fad9b2a55d34b4990/.third-party/matrix_structs/src/events.cpp:1:
In file included from /builddir/build/BUILD/nheko-480de2d30bcd82ed3beeab5fad9b2a55d34b4990/.third-party/matrix_structs/include/mtx/events.hpp:3:
In file included from /builddir/build/BUILD/nheko-480de2d30bcd82ed3beeab5fad9b2a55d34b4990/.third-party/matrix_structs/deps/json.hpp:53:
In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/map:60:
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/stl_tree.h:1888:7: error: no matching function for call to object of type 'std::less<void>'
        if (!_M_impl._M_key_compare(_S_key(__x), __k))
             ^~~~~~~~~~~~~~~~~~~~~~
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/stl_tree.h:1203:16: note: in instantiation of member function 'std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> >, std::_Select1st<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> > >, std::less<void>, std::allocator<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> > > >::_M_lower_bound' requested here
      { return _M_lower_bound(_M_begin(), _M_end(), __k); }
               ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/stl_map.h:1240:21: note: in instantiation of member function 'std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> >, std::_Select1st<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> > >, std::less<void>, std::allocator<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> > > >::lower_bound' requested here
      { return _M_t.lower_bound(__x); }
                    ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/stl_map.h:537:17: note: in instantiation of member function 'std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer>, std::less<void>, std::allocator<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> > > >::lower_bound' requested here
        iterator __i = lower_bound(__k);
                       ^
/builddir/build/BUILD/nheko-480de2d30bcd82ed3beeab5fad9b2a55d34b4990/.third-party/matrix_structs/deps/json.hpp:12639:40: note: in instantiation of member function 'std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer>, std::less<void>, std::allocator<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> > > >::at' requested here
                return m_value.object->at(key);
                                       ^
/builddir/build/BUILD/nheko-480de2d30bcd82ed3beeab5fad9b2a55d34b4990/.third-party/matrix_structs/src/events.cpp:86:41: note: in instantiation of member function 'nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer>::at' requested here
                return getEventType(obj.at("type").get<std::string>());
                                        ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/stl_function.h:559:2: note: candidate template ignored: substitution failure [with _Tp = const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > &, _Up = const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > &]
        operator()(_Tp&& __t, _Up&& __u) const
        ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/stl_function.h:569:2: note: candidate template ignored: could not match '_Tp *' against 'std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >'
        operator()(_Tp* __t, _Up* __u) const noexcept
        ^
In file included from /builddir/build/BUILD/nheko-480de2d30bcd82ed3beeab5fad9b2a55d34b4990/.third-party/matrix_structs/src/events.cpp:1:
In file included from /builddir/build/BUILD/nheko-480de2d30bcd82ed3beeab5fad9b2a55d34b4990/.third-party/matrix_structs/include/mtx/events.hpp:3:
In file included from /builddir/build/BUILD/nheko-480de2d30bcd82ed3beeab5fad9b2a55d34b4990/.third-party/matrix_structs/deps/json.hpp:36:
In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/algorithm:60:
In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/utility:70:
In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/stl_pair.h:59:
In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/move.h:55:
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/type_traits:149:26: error: implicit instantiation of undefined template 'std::less<void>::__not_overloaded<char const (&)[8], const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > &, void>'
    : public conditional<_B1::value, __and_<_B2, _B3, _Bn...>, _B1>::type
                         ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/stl_function.h:564:4: note: in instantiation of template class 'std::__and_<std::less<void>::__not_overloaded<char const (&)[8], const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > &, void>, std::is_convertible<char const (&)[8], const volatile void *>, std::is_convertible<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > &, const volatile void *> >' requested here
                        __ptr_cmp<_Tp, _Up>{});
                        ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/stl_tree.h:1241:24: note: in instantiation of function template specialization 'std::less<void>::operator()<char const (&)[8], const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > &>' requested here
          if (__j != end() && _M_impl._M_key_compare(__k, _S_key(__j._M_node)))
                              ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/stl_tree.h:1231:25: note: in instantiation of function template specialization 'std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> >, std::_Select1st<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> > >, std::less<void>, std::allocator<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> > > >::_M_find_tr<char [8], void>' requested here
          return __const_this->_M_find_tr(__k)._M_const_cast();
                               ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/stl_map.h:1176:16: note: in instantiation of function template specialization 'std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> >, std::_Select1st<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> > >, std::less<void>, std::allocator<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> > > >::_M_find_tr<char [8], void>' requested here
        { return _M_t._M_find_tr(__x); }
                      ^
/builddir/build/BUILD/nheko-480de2d30bcd82ed3beeab5fad9b2a55d34b4990/.third-party/matrix_structs/deps/json.hpp:13498:59: note: in instantiation of function template specialization 'std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer>, std::less<void>, std::allocator<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> > > >::find<char [8]>' requested here
            result.m_it.object_iterator = m_value.object->find(std::forward<KeyT>(key));
                                                          ^
/builddir/build/BUILD/nheko-480de2d30bcd82ed3beeab5fad9b2a55d34b4990/.third-party/matrix_structs/src/events.cpp:120:17: note: in instantiation of function template specialization 'nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer>::find<char const (&)[8]>' requested here
        if (obj.find("msgtype") == obj.end())
                ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/stl_function.h:590:9: note: template is declared here
        struct __not_overloaded;
               ^
In file included from /builddir/build/BUILD/nheko-480de2d30bcd82ed3beeab5fad9b2a55d34b4990/.third-party/matrix_structs/src/events.cpp:1:
In file included from /builddir/build/BUILD/nheko-480de2d30bcd82ed3beeab5fad9b2a55d34b4990/.third-party/matrix_structs/include/mtx/events.hpp:3:
In file included from /builddir/build/BUILD/nheko-480de2d30bcd82ed3beeab5fad9b2a55d34b4990/.third-party/matrix_structs/deps/json.hpp:36:
In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/algorithm:60:
In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/utility:70:
In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/stl_pair.h:59:
In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/move.h:55:
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/type_traits:149:26: error: implicit instantiation of undefined template 'std::less<void>::__not_overloaded<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > &, char const (&)[8], void>'
    : public conditional<_B1::value, __and_<_B2, _B3, _Bn...>, _B1>::type
                         ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/stl_function.h:564:4: note: in instantiation of template class 'std::__and_<std::less<void>::__not_overloaded<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > &, char const (&)[8], void>, std::is_convertible<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > &, const volatile void *>, std::is_convertible<char const (&)[8], const volatile void *> >' requested here
                        __ptr_cmp<_Tp, _Up>{});
                        ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/stl_tree.h:1275:11: note: in instantiation of function template specialization 'std::less<void>::operator()<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > &, char const (&)[8]>' requested here
            if (!_M_impl._M_key_compare(_S_key(__x), __k))
                 ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/stl_tree.h:1240:15: note: in instantiation of function template specialization 'std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> >, std::_Select1st<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> > >, std::less<void>, std::allocator<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> > > >::_M_lower_bound_tr<char [8], void>' requested here
          auto __j = _M_lower_bound_tr(__k);
                     ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/stl_tree.h:1231:25: note: in instantiation of function template specialization 'std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> >, std::_Select1st<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> > >, std::less<void>, std::allocator<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> > > >::_M_find_tr<char [8], void>' requested here
          return __const_this->_M_find_tr(__k)._M_const_cast();
                               ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/stl_map.h:1176:16: note: in instantiation of function template specialization 'std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> >, std::_Select1st<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> > >, std::less<void>, std::allocator<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> > > >::_M_find_tr<char [8], void>' requested here
        { return _M_t._M_find_tr(__x); }
                      ^
/builddir/build/BUILD/nheko-480de2d30bcd82ed3beeab5fad9b2a55d34b4990/.third-party/matrix_structs/deps/json.hpp:13498:59: note: in instantiation of function template specialization 'std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer>, std::less<void>, std::allocator<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer> > > >::find<char [8]>' requested here
            result.m_it.object_iterator = m_value.object->find(std::forward<KeyT>(key));
                                                          ^
/builddir/build/BUILD/nheko-480de2d30bcd82ed3beeab5fad9b2a55d34b4990/.third-party/matrix_structs/src/events.cpp:120:17: note: in instantiation of function template specialization 'nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, adl_serializer>::find<char const (&)[8]>' requested here
        if (obj.find("msgtype") == obj.end())
                ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/stl_function.h:590:9: note: template is declared here
        struct __not_overloaded;
               ^
13 errors generated.
gmake[2]: *** [CMakeFiles/matrix_structs.dir/build.make:63: CMakeFiles/matrix_structs.dir/src/events.cpp.o] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions