Skip to content

Name collison in OpenApiModelMessages.proto #36

Description

@volt-bot

When compling the generated file from OpenApiModelMessages.proto for c++, there's an ODR violation happening between the windows API and the resulting proto file. The error is 'CURRENCY': redefinition; previous definition was 'typedef'. This comes from
/** Enum for specifying type of minimum trading commission. */ enum ProtoOAMinCommissionType { CURRENCY = 1; QUOTE_CURRENCY = 2; }
in the OpenApiModelMessages.proto file. I suggest renaming the CURRENCY in ProtoOAMinCommissionType to something else like CURRENCY_

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions