"unknown size" error 
Author Message
 "unknown size" error

Hi,
        I'm a novice to c and I'm compiling a set of programs.
        I get an error "unknown size" in relation to a struct
        definition.  The error message displays the closing
        bracket of the definition.  The definition is in a
        header file.  I'm compiling on Ultrix.
        Any ideas why this is happening?



Tue, 10 Aug 1999 03:00:00 GMT  
 "unknown size" error

Quote:

>Hi,
>    I'm a novice to c and I'm compiling a set of programs.
>    I get an error "unknown size" in relation to a struct
>    definition.  The error message displays the closing
>    bracket of the definition.  The definition is in a
>    header file.  I'm compiling on Ultrix.
>    Any ideas why this is happening?

  It would help if you posted the offending struct definition.

--
The Amorphous Mass         If I knew what I was doing,



Tue, 10 Aug 1999 03:00:00 GMT  
 "unknown size" error


Quote:
>    I'm a novice to c and I'm compiling a set of programs.
>    I get an error "unknown size" in relation to a struct
>    definition.  The error message displays the closing
>    bracket of the definition.  The definition is in a
>    header file.  I'm compiling on Ultrix.
>    Any ideas why this is happening?

Post the code and we'll have some ideas.  Does your struct contain another
struct/union, which has not yet been defined?

Dan
--
Dan Pop
CERN, IT Division

Mail:  CERN - PPE, Bat. 31 1-014, CH-1211 Geneve 23, Switzerland



Tue, 10 Aug 1999 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. RPC "Unknown protocol" error

2. WinSock function "connect" returns unknown error

3. Unknown Error "Application timed out"???

4. "Unknown Error" from using GetHostByName

5. Error "free"-ing "malloc"-ed memory

6. can't find "unknown.idl"

7. C# XsltContext for "unknown function" current()

8. Compile error "Internal error during SetupPhase"

9. Change size of "enum"???

10. Initializing Static Array of "Variable" Size

11. Change size of "enum"???

12. Retrieving "real" control sizes

 

 
Powered by phpBB® Forum Software