TnKernel - не компилится в IAR ARM6.3 с включенной опцией Multi-file Compilation


Error[Pe1061]: declaration of variable "tn_ready_list" is incompatible with a declaration in another translation unit D:\projects\_lib\rtos\tn_kernel\tn.h 281
the other declaration is at line 281 of "D:\projects\_lib\rtos/TN_Kernel/tn.h"


для исправления перенес в файле tn.h
#ifdef __cplusplus
extern "C" {
#endif

над обьявлением структур Global vars

Юзаю Extended Embedded C++