Describe the bug
bootstrap-vcpkg.bat fails on vc2015 again, it just got fixed a few days ago by getting rid of new language features, and now this...
Environment
To Reproduce
Steps to reproduce the behavior:
Expected behavior
bootstrap creates vcpkg.exe
Failure logs
Building vcpkg.exe ...
pch.cpp
archives.cpp
checks.cpp
chrono.cpp
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\base\chrono.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\base\checks.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\archives.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\base\chrono.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\base\checks.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\archives.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\base\chrono.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\base\checks.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
cofffilereader.cpp
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\archives.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
downloads.cpp
enums.cpp
files.cpp
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\base\cofffilereader.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\base\cofffilereader.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\base\downloads.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\base\downloads.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\base\cofffilereader.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\base\downloads.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
hash.cpp
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\base\enums.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\base\files.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\base\enums.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\base\files.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\base\enums.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\base\files.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
json.cpp
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\base\hash.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\base\hash.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\base\hash.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
machinetype.cpp
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\base\json.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\base\json.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\base\json.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
parse.cpp
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\base\machinetype.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\base\machinetype.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\base\machinetype.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
strings.cpp
stringview.cpp
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\base\parse.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\base\parse.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\base\parse.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\base\strings.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\base\strings.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\base\strings.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
system.cpp
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\base\stringview.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\base\stringview.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\base\stringview.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
system.print.cpp
system.process.cpp
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\base\system.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\base\system.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\base\system.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\base\system.print.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\base\system.print.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\base\system.print.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\base\system.process.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\base\system.process.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\base\system.process.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
unicode.cpp
binarycaching.cpp
binaryparagraph.cpp
build.cpp
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\base\unicode.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\base\unicode.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\base\unicode.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\binarycaching.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\binarycaching.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\binarycaching.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\binaryparagraph.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\binaryparagraph.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\binaryparagraph.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\build.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\build.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\build.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
buildenvironment.cpp
cmakevars.cpp
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\buildenvironment.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\buildenvironment.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\cmakevars.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\buildenvironment.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\cmakevars.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\cmakevars.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
commands.autocomplete.cpp
commands.buildexternal.cpp
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\commands.autocomplete.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\commands.autocomplete.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\commands.autocomplete.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\commands.buildexternal.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\commands.buildexternal.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\commands.buildexternal.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
commands.cache.cpp
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\commands.cache.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\commands.cache.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\commands.cache.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
commands.ci.cpp
commands.ciclean.cpp
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\commands.ci.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\commands.ci.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\commands.ci.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\commands.ciclean.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\commands.ciclean.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\commands.ciclean.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
commands.contact.cpp
commands.cpp
commands.create.cpp
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\commands.contact.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\commands.contact.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\commands.contact.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
commands.dependinfo.cpp
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\commands.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\commands.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\commands.create.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
commands.edit.cpp
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\commands.create.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\commands.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\commands.create.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\commands.dependinfo.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
commands.env.cpp
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\commands.dependinfo.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\commands.dependinfo.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\commands.edit.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\commands.edit.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\commands.edit.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\commands.env.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\commands.env.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\commands.env.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
commands.exportifw.cpp
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\commands.exportifw.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\commands.exportifw.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\commands.exportifw.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
commands.format-manifest.cpp
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\commands.format-manifest.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\commands.format-manifest.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\commands.format-manifest.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
commands.integrate.cpp
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\commands.integrate.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\commands.integrate.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\commands.integrate.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
commands.list.cpp
commands.owns.cpp
commands.porthistory.cpp
commands.portsdiff.cpp
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\commands.list.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\commands.list.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\commands.owns.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\commands.owns.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\commands.list.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\commands.owns.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\commands.porthistory.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\commands.portsdiff.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\commands.porthistory.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\commands.portsdiff.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\commands.porthistory.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\commands.portsdiff.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
commands.search.cpp
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\commands.search.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\commands.search.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\commands.search.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
commands.setinstalled.cpp
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\commands.setinstalled.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\commands.setinstalled.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\commands.setinstalled.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
commands.upgrade.cpp
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\commands.upgrade.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\commands.upgrade.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\commands.upgrade.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
commands.version.cpp
commands.xvsinstances.cpp
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\commands.version.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\commands.version.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\commands.version.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\commands.xvsinstances.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\commands.xvsinstances.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\commands.xvsinstances.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
dependencies.cpp
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\dependencies.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\dependencies.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\dependencies.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
export.cpp
export.chocolatey.cpp
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\export.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\export.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\export.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\export.chocolatey.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
export.prefab.cpp
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\export.chocolatey.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\export.chocolatey.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\export.prefab.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\export.prefab.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\export.prefab.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
globalstate.cpp
help.cpp
input.cpp
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\help.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\input.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\help.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\input.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\help.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\input.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
install.cpp
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\install.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\install.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\install.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
platform-expression.cpp
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\platform-expression.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\platform-expression.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\platform-expression.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
..\src\vcpkg\platform-expression.cpp(9): fatal error C1083: Cannot open include file: 'variant': No such file or directory [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
metrics.cpp
packagespec.cpp
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\metrics.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\metrics.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\metrics.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\packagespec.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
paragraphparseresult.cpp
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\packagespec.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\packagespec.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\paragraphparseresult.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\paragraphparseresult.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\paragraphparseresult.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
paragraphs.cpp
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\paragraphs.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
portfileprovider.cpp
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\paragraphs.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\paragraphs.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\portfileprovider.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
postbuildlint.buildtype.cpp
postbuildlint.cpp
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\portfileprovider.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\portfileprovider.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
remove.cpp
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\postbuildlint.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\postbuildlint.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\postbuildlint.buildtype.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\postbuildlint.buildtype.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\postbuildlint.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\postbuildlint.buildtype.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\remove.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\remove.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\remove.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
sourceparagraph.cpp
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\sourceparagraph.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\sourceparagraph.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\sourceparagraph.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
statusparagraph.cpp
statusparagraphs.cpp
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\statusparagraphs.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\statusparagraphs.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\statusparagraphs.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\statusparagraph.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\statusparagraph.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\statusparagraph.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
tools.cpp
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\tools.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\tools.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\tools.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
triplet.cpp
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\triplet.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\triplet.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\triplet.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
update.cpp
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\update.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\update.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\update.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
userconfig.cpp
vcpkgcmdarguments.cpp
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\userconfig.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
vcpkglib.cpp
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\vcpkgcmdarguments.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\userconfig.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\vcpkgcmdarguments.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
vcpkgpaths.cpp
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\userconfig.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\vcpkgcmdarguments.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\vcpkgpaths.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
versiont.cpp
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\vcpkglib.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\vcpkgpaths.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\vcpkglib.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\vcpkgpaths.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\vcpkglib.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
visualstudio.cpp
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\versiont.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\versiont.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\versiont.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(48): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\visualstudio.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(53): error C3249: illegal statement or sub-expression for 'constexpr' function (compiling source file ..\src\vcpkg\visualstudio.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\robinmi\vcpkg.new\toolsrc\include\vcpkg/base/stringview.h(46): error C3259: 'constexpr' functions can only have one return statement (compiling source file ..\src\vcpkg\visualstudio.cpp) [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
..\src\vcpkg\vcpkgcmdarguments.cpp(581): error C2127: 'opt': illegal initialization of 'constexpr' entity with a non-constant expression [C:\robinmi\vcpkg.new\toolsrc\vcpkglib\vcpkglib.vcxproj]
..\src\vcpkg\vcpkgcmdarguments.cpp(581): note: failure was caused by evaluating a lambda expression
C:\robinmi\vcpkg.new\scripts\bootstrap.ps1 : Building vcpkg.exe failed. Please ensure you have installed Visual Studio with the Desktop C++ workload and the Windows SDK
for Desktop C++.
At line:1 char:4
+ & {& 'C:\robinmi\vcpkg.new\scripts\bootstrap.ps1' -disableMetrics}
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,bootstrap.ps1
Additional context
The offending commit is:
[vcpkg manifest] Manifest Implementation (#11757)
1d8f0acc9c3085d18152a3f639077a28109196b6
Confirmed, @ras0219 @ras0219-msft could you please take a look?
Thanks.
Not trying to be negative but constructive - I really appreciate and like vcpkg.
Having issues like this one and https://github.com/microsoft/vcpkg/issues/12062 where core functionality breaks make it into the main vcpkg repo are worrying. Users use vcpkg by cloning the main repo and then doing their work. I'm super excited to use vcpkg and have moved many of my dependencies to build via it instead of building myself by hand. But breaks like these make me second-guess that decision.
I really like several of the features on the vcpkg roadmap. They provide for some key functionality that will make vcpkg even more useful. Is there anything planned to improve the stability of the core vcpkg so that breaks like these don't happen so often? Happy to open a new issue if that's best to have a discussion about what could help improve vcpkg in this respect.
Thanks!
Thank you for the constructive feedback, and glad you're getting so much use out of vcpkg! We're aware of the recent instabilities and are actively working to improve the situation.
For this issue (#12220), We're investigating distributing prebuilt binaries for vcpkg, which will enable us to decouple the awesome new C++ features we want to use in the tool from the user environments we want to support.
For #12062, this looks like a solid case of us having insufficient test coverage for our feature set. We're actively working on making this situation better by consciously introducing test coverage at a faster rate than we're adding features, however we unfortunately haven't gotten to every existing feature yet.
We would love PRs that add tests covering real-world use scenarios -- we've recently introduced a place[1] for end-to-end testing that would exactly cover #12062.
Finally, we strongly recommend that for all production scenarios you pin the specific vcpkg commit you are using. This also pins library versions, so you can manage changes on your own terms in your dev environment instead of your stable CI. This is most easily done with git submodules (assuming you're using git).
[1] https://github.com/microsoft/vcpkg/blob/master/scripts/azure-pipelines/end-to-end-tests.ps1
Awesome. Thanks for responding so quickly. Prebuilt binaries sound like a promising solution for this bug.
For the end-to-end testing, I've never done Azure pipeline stuff. Am I correct in assuming that I basically can assume I've got a dev-like environment with different VS versions installed at my disposal and could then try building a simple project that depends on something like x64-windows-static ? Is there a good way to simulate locally or remotely if I want to try writing such a test?
The vcpkg commit is a good point. Thank you for making it. It might be worth having in the main readme. (In hindsight, I probably should've realized that, but it hadn't occurred to me.) I'm more a git subrepo than submodule fan, but either option works for this.
Again, thanks for the quick response and great answers/pointers. Much appreciated.