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

bootstrap-vcpkg.bat broken on vc2015 AGAIN!!! #12220

Closed
yamcenutzer opened this issue Jul 2, 2020 · 6 comments · Fixed by #12242
Closed

bootstrap-vcpkg.bat broken on vc2015 AGAIN!!! #12220

yamcenutzer opened this issue Jul 2, 2020 · 6 comments · Fixed by #12242
Assignees
Labels
category:vcpkg-bug The issue is with the vcpkg system (including helper scripts in `scripts/cmake/`)

Comments

@yamcenutzer
Copy link

yamcenutzer commented Jul 2, 2020

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

  • OS: Windows 10 vc2015 update 5

To Reproduce
Steps to reproduce the behavior:

  1. .\bootstrap-vcpkg.bat
  2. See logs
    before trying to add this manifest thingy, things used to work.
    The offending commit is:
    [vcpkg manifest] Manifest Implementation ([vcpkg manifest] Manifest Implementation #11757)
    1d8f0ac
  3. please try to keep vcpkg itself not more than c++11. It prevents using the > 1500 libs which mostly would be happy to run with c++11.

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)
1d8f0ac

@yamcenutzer yamcenutzer changed the title bootstrap.sh broken on vc2015 AGAIN!!! bootstrap-vcpkg.bat broken on vc2015 AGAIN!!! Jul 2, 2020
@JackBoosY
Copy link
Contributor

Confirmed, @ras0219 @ras0219-msft could you please take a look?

Thanks.

@JackBoosY JackBoosY added the category:vcpkg-bug The issue is with the vcpkg system (including helper scripts in `scripts/cmake/`) label Jul 3, 2020
ras0219 pushed a commit to ras0219/vcpkg that referenced this issue Jul 3, 2020
@aggieNick02
Copy link
Contributor

Not trying to be negative but constructive - I really appreciate and like vcpkg.

Having issues like this one and #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!

@ras0219
Copy link
Contributor

ras0219 commented Jul 3, 2020

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:/microsoft/vcpkg/blob/master/scripts/azure-pipelines/end-to-end-tests.ps1

@aggieNick02
Copy link
Contributor

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.

strega-nil pushed a commit that referenced this issue Jul 6, 2020
strega-nil pushed a commit to strega-nil/vcpkg that referenced this issue May 5, 2021
@Sunbreak
Copy link

Sunbreak commented Dec 1, 2021

Awesome. Thanks for responding so quickly. Prebuilt binaries sound like a promising solution for this bug.

Is prebuilt binaries available now?

@ras0219-msft
Copy link
Contributor

Yes, prebuilt binaries are now used when you run .\bootstrap-vcpkg.bat

@microsoft microsoft locked as resolved and limited conversation to collaborators Dec 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
category:vcpkg-bug The issue is with the vcpkg system (including helper scripts in `scripts/cmake/`)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants