Linux驱动程序开发:未知类型名称`__no_sanitize_or_inline`在文件`linux/init.h`中in
我环顾了堆栈溢出,没有类似主题的答案最终帮助了我。似乎没有其他人遇到的随机问题。我需要的是要放入的compile_flags.txt,因此我停止遇到该类型错误,实际上可以使用Clangd获得Intellisense,该模块的编译正常。谁能帮忙?
我当前的compile_flags.txt看起来像这样:
-Iheaders
-I/usr/src/kernels/5.17.11-300.fc36.x86_64/include
-Wall
-O2
-std=gnu17
谢谢
I've looked around Stack Overflow and none of the answers to similar topics ended up helping me; it seems like such a random issue no one else has. What I need is the compile_flags.txt to put in so I stop getting that type error and can actually get intellisense with clangd, compilation of the module works fine. Can anyone help?
My current compile_flags.txt looks like this:
-Iheaders
-I/usr/src/kernels/5.17.11-300.fc36.x86_64/include
-Wall
-O2
-std=gnu17
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论