Skip to content

Conversation

@oltolm
Copy link

@oltolm oltolm commented Mar 16, 2025

Fixes this error with Clang 20

[build] C:\msys64\clang64\bin\clang++.exe -DFMT_SHARED -IC:/src/mcl/tests/. -IC:/src/mcl/src/../include -g -std=c++20 -fansi-escape-codes -fcolor-diagnostics -MD -MT tests/CMakeFiles/mcl-tests.dir/mp/typelist_tests.cpp.obj -MF tests\CMakeFiles\mcl-tests.dir\mp\typelist_tests.cpp.obj.d -o tests/CMakeFiles/mcl-tests.dir/mp/typelist_tests.cpp.obj -c C:/src/mcl/tests/mp/typelist_tests.cpp
[build] In file included from C:/src/mcl/tests/mp/typelist_tests.cpp:19:
[build] C:/src/mcl/src/../include/mcl/mp/typelist/lift_sequence.hpp:27:1: error: implicit instantiation of undefined template 'mcl::mp::detail::lift_sequence_impl<std::integer_sequence<unsigned long long, 0, 1, 2>>'
[build]    27 | using lift_sequence = typename detail::lift_sequence_impl<VL>::type;
[build]       | ^
[build] C:/src/mcl/tests/mp/typelist_tests.cpp:87:9: note: in instantiation of template type alias 'lift_sequence' requested here
[build]    87 |         lift_sequence<std::make_index_sequence<3>>,
[build]       |         ^
[build] C:/src/mcl/src/../include/mcl/mp/typelist/lift_sequence.hpp:16:8: note: template is declared here
[build]    16 | struct lift_sequence_impl;
[build]       |        ^
[build] 1 error generated.

@FireBurn
Copy link

Thanks for this, I've cherry picked it to my dynarmic tree, I've kept the authorship but let me know if you want anything else changed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants