Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修复cpp17分支编译错误,offsetof需要cstddef头文件 #673

Open
wants to merge 1 commit into
base: cpp17
Choose a base branch
from

Conversation

CChuancey
Copy link

我在Ubuntu 22.04上使用GCC 11.3编译CPP17分支时,muduo/net/InetAddress.cc文件中的offsetof 处报错,通过添加标准头文件cstddef即可解决

@CChuancey CChuancey changed the title 修复编译错误,offsetof需要cstddef头文件 修复cpp17分支编译错误,offsetof需要cstddef头文件 Apr 19, 2023
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.

None yet

1 participant