Skip to content

Enable google/cloud/assuredworkloads on Windows #8198

@coryan

Description

@coryan

We cannot compile google/cloud/assuredworkloads on Windows with protobuf <= 3.19.3 (current as of 2022-02-01) because the protos define STATUS_PENDING as an enum, and it happens to be a macro on Windows:

C:\b\5nhbpcfv\execroot\com_github_googleapis_google_cloud_cpp\bazel-out\x64_windows-fastbuild\bin\external\com_google_googleapis\google/cloud/assuredworkloads/v1/assuredworkloads.pb.h(1989): error C2143: syntax error: missing ')' before 'constant'

Metadata

Metadata

Assignees

No one assigned

    Labels

    api: assuredworkloadsIssues related to the Assured Workloads API.externalThis issue is blocked on a bug with the actual product.type: cleanupAn internal cleanup or hygiene concern.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions