aliyun / aliyun/aliyun-openapi-cpp-sdk
ecs\src\model\RunCommandRequest.cc(236,3): error C2664
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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