Closed KKhanhH closed 3 weeks ago
It seems like if you're compiling with /std:c++17
or below you need /permissive-
.
Ah thanks, that seems to have fixed it. I didn't realize you needed the standards conformance flag because the same code was compiling fine with VS 2019.
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: