extern AA array type has incomplete element type struct... 百度网上的解决方法,需要把结构体改成 typedef。但 上述结构体中使用了自身结构体的指针,后参考网上博文 《结构体定义中不可以包含自己类型的变量,可以包含自己类型的指针》https://blog.csdn.net/blank_koko/article/details/129390338 采用了 typedef s...
array type has incomplete element type,是数组类型具有不完全元素类型的意思。array type has incomplete element type extern struct SoundReport SoundList[32]; /// 多写了 struct typedef struct {u8 SoundContent[50];//语音播报的内容 注:以null为结束标志。const char Priority; /...
extern int docx(char *,char[][]) // in a header file It is compiled properly in solaris, but in Redhat Linux it shows the error bellow: array type has incomplete element type. I know i can solve it as - char[][20] Is it the right way? c arrays Share Improve this question ...
struct myTasks taskInfo[2500] Error: array type has incomplete element What am I doing wrong? I wanted to create an array of myTasks structs that I could pass as a buffer to a syscall... but I can't figure out what I'm doing wrong. I'm new to C so any help would be greatly...
安装lfs时编译binutils出错: ../../sources/binutils-2.15.91.0.2/gas/config/tc-i386.h:457:32: error: array type has incomplete element type extern const struct
你把两个结构体的位置换一下
Gpt_Cfg.h:262:48: error: array type has incomplete element type'struct Gpt_ChannelConfigType_PC_s' In Gpt_Cfg.h is generated : extern const struct Gpt_ChannelConfigType_PC_s Gpt_ChannelConfig_PC[GPT_MAX_CHANNELS]; Gpt_ChannelConfigType_PC_s is declared in Gpt.h. ...
array type has incomplete element type externstructSoundReport SoundList[32]; /// 多写了struct typedef struct { u8 SoundContent[50];//语音播报的内容 注:以null为结束标志 const char Priority; //语音播报优先级 注:10为最高,0为最低 char...
Got Error error: array has incomplete element type 'const struct luaL_reg' during make. gcc `sdl-config --cflags --libs` -lsdl -llua -lsdl_ttf -lsdl_image -lsdl_mixer -lsmpeg *.c -o ../bin/jy jymain.c:50:36: error: array has incomplete e...