Bootstrap build fails on Win10 /w vs2015
Environment:
- OS: Windows 10
- Compiler: vs2015 14.0.25431.01 Update 3
Steps to reproduce the behavior:
- git clone vkpkg
- bootstrap-vcpkg.bat
I'm expecting it to build using vs2015. But I get this:
..\src\vcpkg\install.cpp(845): error C2280: 'vcpkg::PortFileProvider::BaselineProvider::BaselineProvider(const vcpkg::PortFileProvider::BaselineProvider &)': attempting to reference a deleted function [E:\vcpkg\toolsrc\windows-bootstrap\vcpkg.vcxproj]
E:\vcpkg\toolsrc\include\vcpkg/portfileprovider.h(84): note: compiler has generated 'vcpkg::PortFileProvider::BaselineProvider::BaselineProvider' here
Looking at the error I can't even figure out why it's trying to call the default constructor there... both calls in the lambda to construct the BaselineProvider are using non-default parameters. I did spend a little time just trying to fix the compile error but I couldn't figure it out. Seems like the compiler is just wrong here...
Bootstrap build fails on Win10 /w vs2015
Environment:
Steps to reproduce the behavior:
I'm expecting it to build using vs2015. But I get this:
..\src\vcpkg\install.cpp(845): error C2280: 'vcpkg::PortFileProvider::BaselineProvider::BaselineProvider(const vcpkg::PortFileProvider::BaselineProvider &)': attempting to reference a deleted function [E:\vcpkg\toolsrc\windows-bootstrap\vcpkg.vcxproj]
E:\vcpkg\toolsrc\include\vcpkg/portfileprovider.h(84): note: compiler has generated 'vcpkg::PortFileProvider::BaselineProvider::BaselineProvider' here
Looking at the error I can't even figure out why it's trying to call the default constructor there... both calls in the lambda to construct the BaselineProvider are using non-default parameters. I did spend a little time just trying to fix the compile error but I couldn't figure it out. Seems like the compiler is just wrong here...