We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug (描述bug) C程序包含头文件nebd/src/part1/libnebd.h时产生编译错误, 错误原因是因为C语言不象C++自动为struct定义类型, 在C语言里, struct要成为类型名,需要typedef.
To Reproduce (复现方法) 在C程序里包含libnebd.h
Expected behavior (期望行为) 无编译错误
Versions (各种版本) OS:Linux pubbeta2-curve7.dg.163.org 4.9.65-netease #1 SMP Thu Jul 11 17:32:39 CST 2019 x86_64 GNU/Linux Compiler:gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1) curve-mds: master curve-chunkserver: master curve-snapshotcloneserver: master curve-sdk: master nebd: master curve-nbd: master
Additional context/screenshots (更多上下文/截图)
The text was updated successfully, but these errors were encountered:
LFX Mentorship 2022. moving selected projects from ideas to readme. a…
b465dbf
…dding ToC for README. Adding LFX links to selected projects (opencurve#646) Signed-off-by: Nate W <[email protected]>
No branches or pull requests
Describe the bug (描述bug)
C程序包含头文件nebd/src/part1/libnebd.h时产生编译错误, 错误原因是因为C语言不象C++自动为struct定义类型,
在C语言里, struct要成为类型名,需要typedef.
To Reproduce (复现方法)
在C程序里包含libnebd.h
Expected behavior (期望行为)
无编译错误
Versions (各种版本)
OS:Linux pubbeta2-curve7.dg.163.org 4.9.65-netease #1 SMP Thu Jul 11 17:32:39 CST 2019 x86_64 GNU/Linux
Compiler:gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)
curve-mds: master
curve-chunkserver: master
curve-snapshotcloneserver: master
curve-sdk: master
nebd: master
curve-nbd: master
Additional context/screenshots (更多上下文/截图)
The text was updated successfully, but these errors were encountered: