This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Compiler: Probably an "#include" issue.

Other Parts Discussed in Thread: SYSBIOS

Tool/software: TI C/C++ Compiler

Hi all,

In order to verify the stack size we defined in our project, I want to use the function TSK_stat:

Void TSK_stat(TSK_Handle task, TSK_Stat *statbuf);

After adding the "#include <ti/bios/include/tsk.h>", I get the below compiler error:

identifier "Arg" is undefined.

Inside the tsk.h indeed I see the usage of "Arg":

typedef struct TSK_Glue {
Fxn fxn; /* TSK task function */
Arg args[TSK_MAXARGS];
Int errno;
} TSK_Glue;

What include did I miss?

Thanks,

Alex.