-
Notifications
You must be signed in to change notification settings - Fork 306
Open
Description
结构体中存在枚举类型,生成代码运行后,存在如下问题,
my_struct_2_json.c:(.text+0xad9): undefined reference to struct_to_json_E_DATA_TYPE' /tmp/cc600xmd.o: In function json_to_struct_app_data':
my_struct_2_json.c:(.text+0xbe4): undefined reference to json_to_struct_E_DATA_TYPE' /tmp/cc600xmd.o: In function struct_to_json_sync_data':
my_struct_2_json.c:(.text+0xc97): undefined reference to struct_to_json_E_DATA_TYPE' /tmp/cc600xmd.o: In function json_to_struct_sync_data':
my_struct_2_json.c:(.text+0xda2): undefined reference to `json_to_struct_E_DATA_TYPE'
E_DATA_TYPE是一个枚举类型, 请问这种情况有解决方案吗
Metadata
Metadata
Assignees
Labels
No labels