aliyun / aliyun/aliyun-openapi-cpp-sdk
编译时出现 wincrypt.h(380,29): error C4430: 缺少类型说明符
Open
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 104
- Forks
- 75
- PR merge metrics
- No merged PRs in 30d
Description
core模块编译时出现
wincrypt.h(380,29): error C4430: 缺少类型说明符
修复方式
在 HmacSha1Signer.cc 19 行 更改为
#include <windows.h>
#include <windef.h>
#include <wincrypt.h>
- 产品和接口: core模块
- 平台: Windows
- 最小代码:
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 at HmacSha1Signer.cc line 19 and reproduce the core-module build on Windows with the reported compiler error. Check the Windows header inclusion context around wincrypt.h(380,29), then verify that the core module compiles successfully with the corrected include setup.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- build-system, operating-systems
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100