Skip to content

fix(codec): RpcCodec.hpp缺少cstdint头文件导致的GCC 13编译错误#5

Open
lizining1231 wants to merge 1 commit into
hegang9:mainfrom
lizining1231:main
Open

fix(codec): RpcCodec.hpp缺少cstdint头文件导致的GCC 13编译错误#5
lizining1231 wants to merge 1 commit into
hegang9:mainfrom
lizining1231:main

Conversation

@lizining1231

Copy link
Copy Markdown
  • RpcCodec.hpp中使用uint64_t但未包含, GCC 13要求显式包含头文件
  • 在RpcCodec.hpp中添加#include
  • GCC 11及以上编译通过, 提高新版编译器兼容性
  • 保存时自动格式化了代码(源于项目的 .vscode 配置)。

- RpcCodec.hpp中使用uint64_t但未包含<cstdint>, GCC 13要求显式包含头文件
- 在RpcCodec.hpp中添加#include <cstdint>
- GCC 11及以上编译通过, 提高新版编译器兼容性
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant