Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Range-v3 fails to compile on the latest MSVC version with Visual Studio 2022 #1806

Open
KKhanhH opened this issue Jan 4, 2024 · 0 comments

Comments

@KKhanhH
Copy link

KKhanhH commented Jan 4, 2024

I'm getting an error building range-v3 using the latest version of MSVC with Visual Studio 2022. Running the build on the latest version of MSVC with Visual Studio 2019 works fine.

Looks like it might be related to this issue https://developercommunity.visualstudio.com/t/MSVC-compiler-bug---parameter-pack-expan/10419008?q=intellisense&sort=newest

Error Log:

cl.exe failed: error executing CppCompile command (from target ...) C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.38.33130\bin\HostX64\x64\cl.exe ... (remaining 1 argument skipped)
...\range-v3\include\range/v3/utility/compressed_pair.hpp(56): error C3546: '...': there are no parameter packs available to expand
...\range-v3\include\range/v3/utility/compressed_pair.hpp(56): note: the template instantiation context (the oldest one first) is
...\range-v3\include\range/v3/utility/compressed_pair.hpp(92): note: see reference to class template instantiation 'ranges::compressed_tuple_detail::compressed_tuple_<meta::list<Args...>,std::integer_sequence<size_t,_Kx...>>' being compiled
...\range-v3\include\range/v3/utility/compressed_pair.hpp(65): error C3546: '...': there are no parameter packs available to expand
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

No branches or pull requests

1 participant