aliyun / aliyun/aliyun-openapi-cpp-sdk

ecs\src\model\RunCommandRequest.cc(236,3): error C2664

Open
#146 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
104
Forks
75
PR merge metrics
No merged PRs in 30d

Description

此处编译错误
ecs\src\model\RunCommandRequest.cc(236,3)
因为 setParameter 参数类型错误

  • 产品和接口:ecs
  • 平台:windows
  • 最小代码:
    void RunCommandRequest::setParameters(std::map<std::string, std::string> parameters) {
    parameters_ = parameters;
    ServiceRequest::setParameters(parameters);
    }

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in ecs/src/model/RunCommandRequest.cc at line 236 and inspect RunCommandRequest::setParameters and the ServiceRequest::setParameters call. Reproduce the Windows compilation failure using the reported minimal code and compiler diagnostics; done when the parameter types compile consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.