forked from lewissbaker/cppcoro
-
Notifications
You must be signed in to change notification settings - Fork 58
Open
Description
Hi,
Cppcoro failed to build due to the below error with msvc on Windows, could you look at this issue? Thanks.
F:\gitP\andreasbuhr\cppcoro\test\generator_tests.cpp(242,3): error C2280: 'cppcoro::generator<`anonymous-namespace'::concat::value_type>::generator(const cppcoro::generator<`anonymous-namespace'::concat::value_type> &)': attempting to reference a deleted function [F:\gitP\andreasbuhr\cppcoro\build_amd64\test\generator_tests.vcxproj]
Repro steps:
- git -C "F:\gitP" clone https://github.com/andreasbuhr/cppcoro andreasbuhr\cppcoro
- git -C "F:\gitP\andreasbuhr\cppcoro" checkout e86216e
- mkdir F:\gitP\andreasbuhr\cppcoro\build_amd64 & cd F:\gitP\andreasbuhr\cppcoro\build_amd64
- cmake -G "Visual Studio 17 2022" -A x64 -DCMAKE_SYSTEM_VERSION=10.0.22621.0 -DBUILD_TESTING=ON ..
- msbuild /m /p:Platform=x64 /p:Configuration=Release cppcoro.sln /t:Rebuild
Expected result:
build pass.
Actual log
cppcoro_build.log
More:
Our developers created a smaller repro, and both clang and gcc give the same error, you can see https://gcc.godbolt.org/z/h8fzvWWEj
Metadata
Metadata
Assignees
Labels
No labels