Multi says "incomplete type is not allowed"

S

Sebastian

Hi,

Why do I get this message for the code below? I am using Green Hills Multi 4.0.5.

struct timespec drm_tstamp; /* time stamp */

Regards,

Sebastian
 
M

Me

Why do I get this message for the code below?
struct timespec drm_tstamp; /* time stamp */

because above somewhere in your code you probably have:

struct timespec;

to forward declare the struct, but not:

struct timespec {
/* stuff */
};

to actually define it. Solution: include the correct header file that
defines it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,166
Messages
2,570,907
Members
47,446
Latest member
Pycoder

Latest Threads

Top