Receiving compilation errors in mqx.h

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Receiving compilation errors in mqx.h

498 次查看
edwarddarosa
Contributor II

CW 10.3

MQX 3.8.1

MCU: PXN20

CW is issuing compilation errors in mqx.h. For example, the first few starting at line 149 are:

typedef uint_16      _task_number;             // (expression syntax error)

typedef uint_32      _task_id;                       // (expression syntax error)

In all, there are 62 errors shown in mqx.h, of which 59 are (expression syntax error)s, the majority being in forward declarations of functions.

There are 2 errors of:  (';' expected) and 1 error of: ( ')' expected)

Is there a comprehensive list dscribing the prescribed order of include files?

Any help would be greatly appreciated.

Thanks in advance,

ED

Message was edited by: EDWARD DAROSA Solved by reordering includes.

0 项奖励
2 回复数

303 次查看
c0170
Senior Contributor III

Hi Edward Darosa,

what did you build? An application , bsp , an example? My first guess would be missing compiler path in the project options.

Regards,

MartinK

0 项奖励

303 次查看
edwarddarosa
Contributor II

MartinK,

I am building an application, actually one I inherited, porting from an old mqx version.

Thanks,

ED

0 项奖励