The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
Google UNIX.COM


High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Type I and Type II Errors - The Heart of Event Processing iBot Complex Event Processing RSS News 0 12-05-2007 03:50 PM
error: field has incomplete type boyanov High Level Programming 4 08-10-2007 01:15 AM
String type to date type rinku Shell Programming and Scripting 1 05-30-2007 03:56 AM
Accesing structure member:Error:dereferencing pointer to incomplete type amit4g High Level Programming 3 05-07-2007 05:32 AM
Human readable type vs MIME type detection using file spauldingsmails Shell Programming and Scripting 0 03-21-2007 09:43 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 07-23-2007
Registered User
 

Join Date: Jun 2007
Posts: 32
array type has incomplete element type

Dear colleagues,
One of my friend have a problem with c code. While compiling a c program it displays a message like
"array type has incomplete element type". Any body can provide a solution for it.
Jaganadh.G
Reply With Quote
Forum Sponsor
  #2  
Old 07-24-2007
Registered User
 

Join Date: Jan 2007
Posts: 2,965
If I have the following code

Code:
struct foo;
struct bar
{
    struct foo a_foo;
};
this will fail to compile because the complete size of foo is not known prior to the definition of struct bar.

You need to identify the type that is preventing the compilation and ensure it is defined before it's use.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 12:27 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0