You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi Everyone,
I updated the server files. But when I run the make command this is what I get.
If someone can help me, it never did that before.
In file included from :425:
In file included from /home/foley64/azerothcore/build/src/server/database/CMakeFiles/database.dir/cmake_pch.hxx:5:
In file included from /home/foley64/azerothcore/src/server/database/PrecompiledHeaders/databasePCH.h:26:
In file included from /home/foley64/azerothcore/src/server/database/Database/PreparedStatement.h:24:
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/variant:811:16: fatal error: ambiguous partial specializations of '__gen_vtable_impl<std::__detail::__variant::_Multi_array<void ()((lambda at /home/foley64/azerothcore/src/server/database/Database/MySQLPreparedStatement.cpp:71:20) &&, const std::variant<bool, unsigned char, unsigned short, unsigned int, unsigned long, signed char, short, int, long, float, double, std::basic_string, std::vector, std::nullptr_t> &)>, std::tuple<const std::variant<bool, unsigned char, unsigned short, unsigned int, unsigned long, signed char, short, int, long, float, double, std::basic_string, std::vector, std::nullptr_t> &>, std::integer_sequence<unsigned long, 13>>'
__element = __gen_vtable_impl<
^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/variant:802:5: note: in instantiation of function template specialization 'std::__detail::__variant::__gen_vtable_impl<std::__detail::__variant::_Multi_array<void ()((lambda at /home/foley64/azerothcore/src/server/database/Database/MySQLPreparedStatement.cpp:71:20) &&, const std::variant<bool, unsigned char, unsigned short, unsigned int, unsigned long, signed char, short, int, long, float, double, std::basic_string, std::vector, std::nullptr_t> &), 14>, std::tuple<const std::variant<bool, unsigned char, unsigned short, unsigned int, unsigned long, signed char, short, int, long, float, double, std::basic_string, std::vector, std::nullptr_t> &>, std::integer_sequence>::_S_apply_single_alt<13UL, std::__detail::__variant::_Multi_array<void ()((lambda at /home/foley64/azerothcore/src/server/database/Database/MySQLPreparedStatement.cpp:71:20) &&, const std::variant<bool, unsigned char, unsigned short, unsigned int, unsigned long, signed char, short, int, long, float, double, std::basic_string, std::vector, std::nullptr_t> &)>>' requested here
(_S_apply_single_alt<__var_indices>(
^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/variant:792:2: note: in instantiation of function template specialization 'std::__detail::__variant::__gen_vtable_impl<std::__detail::__variant::_Multi_array<void ()((lambda at /home/foley64/azerothcore/src/server/database/Database/MySQLPreparedStatement.cpp:71:20) &&, const std::variant<bool, unsigned char, unsigned short, unsigned int, unsigned long, signed char, short, int, long, float, double, std::basic_string, std::vector, std::nullptr_t> &), 14>, std::tuple<const std::variant<bool, unsigned char, unsigned short, unsigned int, unsigned long, signed char, short, int, long, float, double, std::basic_string, std::vector, std::nullptr_t> &>, std::integer_sequence>::_S_apply_all_alts<0UL, 1UL, 2UL, 3UL, 4UL, 5UL, 6UL, 7UL, 8UL, 9UL, 10UL, 11UL, 12UL, 13UL>' requested here
_S_apply_all_alts(
^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/variant:851:30: note: in instantiation of member function 'std::__detail::__variant::__gen_vtable_impl<std::__detail::__variant::_Multi_array<void (*)((lambda at /home/foley64/azerothcore/src/server/database/Database/MySQLPreparedStatement.cpp:71:20) &&, const std::variant<bool, unsigned char, unsigned short, unsigned int, unsigned long, signed char, short, int, long, float, double, std::basic_string, std::vector, std::nullptr_t> &), 14>, std::tuple<const std::variant<bool, unsigned char, unsigned short, unsigned int, unsigned long, signed char, short, int, long, float, double, std::basic_string, std::vector, std::nullptr_t> &>, std::integer_sequence>::_S_apply' requested here
std::index_sequence<>>::_S_apply();
^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/variant:854:41: note: in instantiation of member function 'std::__detail::__variant::__gen_vtable<void, (lambda at /home/foley64/azerothcore/src/server/database/Database/MySQLPreparedStatement.cpp:71:20) &&, const std::variant<bool, unsigned char, unsigned short, unsigned int, unsigned long, signed char, short, int, long, float, double, std::basic_string, std::vector, std::nullptr_t> &>::_S_apply' requested here
static constexpr auto _S_vtable = _S_apply();
^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/variant:1382:55: note: in instantiation of template class 'std::__detail::__variant::__gen_vtable<void, (lambda at /home/foley64/azerothcore/src/server/database/Database/MySQLPreparedStatement.cpp:71:20) &&, const std::variant<bool, unsigned char, unsigned short, unsigned int, unsigned long, signed char, short, int, long, float, double, std::basic_string, std::vector, std::nullptr_t> &>' requested here
constexpr auto& __vtable = __detail::__variant::__gen_vtable<
^
/home/foley64/azerothcore/src/server/database/Database/MySQLPreparedStatement.cpp:71:14: note: in instantiation of function template specialization 'std::visit<(lambda at /home/foley64/azerothcore/src/server/database/Database/MySQLPreparedStatement.cpp:71:20), const std::variant<bool, unsigned char, unsigned short, unsigned int, unsigned long, signed char, short, int, long, float, double, std::basic_string, std::vector, std::nullptr_t> &>' requested here
std::visit([&](auto&& param)
^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/variant:777:12: note: partial specialization matches [with _Result_type = void, _Visitor = (lambda at /home/foley64/azerothcore/src/server/database/Database/MySQLPreparedStatement.cpp:71:20) &&, __dimensions = <>, _Variants = <const std::variant<bool, unsigned char, unsigned short, unsigned int, unsigned long, signed char, short, int, long, float, double, std::basic_string, std::vector, std::nullptr_t> &>, __indices = <13>]
struct __gen_vtable_impl<
^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/variant:820:12: note: partial specialization matches [with _Result_type = void, _Visitor = (lambda at /home/foley64/azerothcore/src/server/database/Database/MySQLPreparedStatement.cpp:71:20) &&, _Variants = <const std::variant<bool, unsigned char, unsigned short, unsigned int, unsigned long, signed char, short, int, long, float, double, std::basic_string, std::vector, std::nullptr_t> &>, __indices = <13>]
struct __gen_vtable_impl<
^
1 error generated.
make[2]: *** [src/server/database/CMakeFiles/database.dir/build.make:205: src/server/database/CMakeFiles/database.dir/Database/MySQLPreparedStatement.cpp.o] Error 1
make[2]: *** Attente des tâches non terminées....
make[1]: *** [CMakeFiles/Makefile2:941: src/server/database/CMakeFiles/database.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
Beta Was this translation helpful? Give feedback.
All reactions