Skip to content

vcpkg broken build due to unused variable syntax #13094

@linquize

Description

@linquize

Describe the bug
vcpkg broken build since 5e164e3

../src/vcpkg/commands.xvsinstances.cpp:31:16: error: left operand of comma operator has no effect [-Werror=unused-value]
31 | (void)(args, paths);
| ^~~~
cc1plus: all warnings being treated as errors

Environment

  • OS: Ubuntu 20.04
  • Compiler: gcc 9.3

To Reproduce
Steps to reproduce the behavior:
cmake -B build -G Ninja
cmake --build build

Expected behavior
No error

Metadata

Metadata

Labels

category:vcpkg-bugThe issue is with the vcpkg system (including helper scripts in `scripts/cmake/`)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions