• Resolved

Compiler: Probably an "#include" issue.

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.