From 76aa4dd665085fb6ac10d4cd58e25466366d0799 Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Wed, 18 Jan 2023 15:02:26 +0000 Subject: [PATCH] simd_table_lookup: add missing header for libc++ < 14 src/dynarmic/frontend/A64/translate/impl/simd_table_lookup.cpp:14:31: error: implicit instantiation of undefined template 'std::vector>' std::vector result; ^ /usr/include/c++/v1/iosfwd:251:28: note: template is declared here class _LIBCPP_TEMPLATE_VIS vector; ^ src/dynarmic/frontend/A64/translate/impl/simd_table_lookup.cpp:13:34: error: no matching member function for call to 'VectorTable' const IR::Table table = v.ir.VectorTable([&] { ~~~~~^~~~~~~~~~~ src/dynarmic/../dynarmic/ir/ir_emitter.h:313:11: note: candidate function not viable: cannot convert argument of incomplete type 'void' to 'std::vector' (aka 'vector>') for 1st argument Table VectorTable(std::vector values); ^ src/dynarmic/../dynarmic/ir/ir_emitter.h:314:11: note: candidate function not viable: cannot convert argument of incomplete type 'void' to 'std::vector' (aka 'vector>') for 1st argument Table VectorTable(std::vector values); ^ --- src/dynarmic/frontend/A64/translate/impl/simd_table_lookup.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/dynarmic/frontend/A64/translate/impl/simd_table_lookup.cpp b/src/dynarmic/frontend/A64/translate/impl/simd_table_lookup.cpp index 319517d0..f267c135 100644 --- a/src/dynarmic/frontend/A64/translate/impl/simd_table_lookup.cpp +++ b/src/dynarmic/frontend/A64/translate/impl/simd_table_lookup.cpp @@ -3,6 +3,8 @@ * SPDX-License-Identifier: 0BSD */ +#include + #include "dynarmic/frontend/A64/translate/impl/impl.h" namespace Dynarmic::A64 {