07-24-2007
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
9 More Discussions You Might Find Interesting
1. Post Here to Contact Site Administrators and Moderators
I have seen quite a few posts recently which have launched into questions about specfic errors whose resolution depends a lot upon the OS type and version.
I suggest that in the FAQ an additional entry be included, either under general board usage or posting threads, that informs the user to... (6 Replies)
Discussion started by: saabir
6 Replies
2. Programming
$ gcc -Wall -Werror struct.c
struct.c: In function `main':
struct.c:18: error: dereferencing pointer to incomplete type
$ cat struct.c
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
/*Declaration of structure*/
struct human
{
char *first;
char gender;
int age;
} man,... (3 Replies)
Discussion started by: amit4g
3 Replies
3. Shell Programming and Scripting
Can one string type variable changed into the date type variable. (1 Reply)
Discussion started by: rinku
1 Replies
4. Programming
Hello there,
Here is how it goes - I have written a small test driver as an exercise to "Linux Device Drivers" and as a preparation for writing a real, functional driver.
For the sake of seeing how far I got it working (I already implemented the open(0, read(), write() and ioctl() calls) I... (4 Replies)
Discussion started by: boyanov
4 Replies
5. Programming
I'm trying to compile a 2.4.26 kernel but I have to apply two patches to it.
The patches are:
linux-2.4.26-xbox.patch
openMosix-2.4.26-1
This is the reason that it doesn't compile. There is only one error but I'm not familiar with C or C++(Unfortunately only Java and some lower-level... (2 Replies)
Discussion started by: lateralus01
2 Replies
6. Solaris
Hi
i need to know how i made for getting witch RAID my system used
exist a commad for this ?
thank you (7 Replies)
Discussion started by: dimitris
7 Replies
7. UNIX for Dummies Questions & Answers
I'm getting the following Error:
prepare_pcap.c: In function `prepare_pkts':
prepare_pcap.c:127: error: dereferencing pointer to incomplete type
prepare_pcap.c:138: error: dereferencing pointer to incomplete type
====================================
This is the part of the relevant... (8 Replies)
Discussion started by: katwala
8 Replies
8. Programming
// Hello all,
I am having this error "Dereferencing pointer to incomplete type " on these 2 lines:
xpoint = my_point->x;
ypoint = my_point->y;
I am having no clue y this is happening.
Any help would be greately appreciated!!!!
#include<stdio.h>
#include<string.h>... (2 Replies)
Discussion started by: mind@work
2 Replies
9. Programming
I am getting a dereferencing pointer to incomplete type error when i compile the following code on lines highlighted in red. Can anyone help me in identifying what is wrong in the code?
#include<stdio.h>
#include<stdlib.h>
typedef struct{
int info;
struct node* link ;
} node;
void... (3 Replies)
Discussion started by: sreeharshasn
3 Replies
LEARN ABOUT DEBIAN
ost_mimemultipart
ost::MIMEMultipart(3) Library Functions Manual ost::MIMEMultipart(3)
NAME
ost::MIMEMultipart -
A container class for multi-part MIME document objects which can be streamed to a std::ostream destination.
SYNOPSIS
#include <mime.h>
Inherited by ost::MIMEMultipartForm.
Public Member Functions
MIMEMultipart (const char *document)
Contruct a multi-part document, and describe it's type.
virtual void head (std::ostream *output)
Stream the headers of the multi-part document.
virtual void body (std::ostream *output)
Stream the 'body' of the multi-part document.
char ** getHeaders (void)
Get a string array of the headers to use.
Protected Member Functions
virtual ~MIMEMultipart ()
Protected Attributes
char boundry [8]
char mtype [80]
char * header [16]
MIMEItemPart * first
MIMEItemPart * last
Friends
class __EXPORT MIMEItemPart
Detailed Description
A container class for multi-part MIME document objects which can be streamed to a std::ostream destination.
Author:
David Sugar dyfet@ostel.com container for streamable multi-part MIME documents.
Constructor & Destructor Documentation
virtual ost::MIMEMultipart::~MIMEMultipart () [protected], [virtual]
ost::MIMEMultipart::MIMEMultipart (const char *document)
Contruct a multi-part document, and describe it's type. Parameters:
document (content) type.
Member Function Documentation
virtual void ost::MIMEMultipart::body (std::ostream *output) [virtual]
Stream the 'body' of the multi-part document. This involves streaming the headers and body of each document part.
Parameters:
output to stream document body into.
char** ost::MIMEMultipart::getHeaders (void) [inline]
Get a string array of the headers to use. This is used to assist URLStream::post.
Returns:
array of headers.
virtual void ost::MIMEMultipart::head (std::ostream *output) [virtual]
Stream the headers of the multi-part document. The headers of individual entities are streamed as part of the body.
Parameters:
output to stream document header into.
Friends And Related Function Documentation
friend class __EXPORT MIMEItemPart [friend]
Member Data Documentation
char ost::MIMEMultipart::boundry[8] [protected]
MIMEItemPart* ost::MIMEMultipart::first [protected]
char* ost::MIMEMultipart::header[16] [protected]
MIMEItemPart * ost::MIMEMultipart::last [protected]
char ost::MIMEMultipart::mtype[80] [protected]
Author
Generated automatically by Doxygen for GNU CommonC++ from the source code.
GNU CommonC++ Sat Jun 23 2012 ost::MIMEMultipart(3)