Re: Fw: error: array type has incomplete element type ??

2007-11-07 Thread Jonathan Wakely
On 07/11/2007, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > This is a part of the code : > -- > extern struct dummy temp[]; > error: array type has in

Fw: error: array type has incomplete element type ??

2007-11-06 Thread onkar . mahajan
This is a part of the code : -- extern struct dummy temp[]; error: array type has incomplete element type -- which i compiled without any error on : $gcc -v Reading specs

re: array type has incomplete element type

2005-05-01 Thread Daniel Kegel
[EMAIL PROTECTED] wrote: What's wrong with this ? It is ok in gcc 3 not not ok with gcc4: #define SERVICE_TYPE(type, val, state) SERVICE_##type = val, typedef enum service_e { SERVICE_TYPE(NONE, 0, false) SERVICE_TYPE(FTP,1, true) SERVICE_TYPE_MAX } service_type_t; Compi

array type has incomplete element type

2005-05-01 Thread David Yu
Hi, What's wrong with this ? It is ok in gcc 3 not not ok with gcc4: #define SERVICE_TYPE(type, val, state) SERVICE_##type = val, typedef enum service_e { SERVICE_TYPE(NONE, 0, false) SERVICE_TYPE(FTP,1, true) SERVICE_TYPE_MAX } service_type_t; Thanks dave