Array type has incomplete type
hi all
i m using Suse 10.2, my gcc complier version is 4.1.2. while compiling the code ffmpeg source code i am getting error as "Array type has incomplete type". can any one suggest me how to rectify that error. |
Hi, and welcome to LQ!
Probably not w/o having seen the faulty code. Cheers, Tink P.S.: This question is better of in our programming forum, and I'm moving it there. |
Normally that error only occurs when you declare a struct/class without defining it then try to construct something with it:
Code:
struct my_struct; ta0kira |
pls go thru the code
the following is a piece of code, where i am getting error"Array type has incomplete type" in line 3 &7
struct AVOption; #ifdef HAVE_MMX extern const struct AVOption avoptions_common[3 + 5]; #else extern const struct AVOption avoptions_common[3]; #endif extern const struct AVOption avoptions_workaround_bug[11]; |
All times are GMT -5. The time now is 10:15 AM. |