Include文件易犯编译错误_in file included from../../include
作者:繁依Fanyi0 | 2024-03-06 19:45:26
赞
踩
in file included from../../include
在cms.h文件中添加结构体变量后,编译总是报include文件编译错误,如下:
In file included from /.../public/include/cms_other.h:41:0, from /.../public/include/linux/os_common.h:43, from vlanctl_api.c:57: /.../public/include/cms.h:508:4: error: unknown type name ‘UBOOL8’ /.../public/include/cms.h:509:4: error: unknown type name ‘UBOOL8’