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_
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_