Receiving compilation errors in mqx.h

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Receiving compilation errors in mqx.h

484 Views
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 Kudos
2 Replies

289 Views
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 Kudos

289 Views
edwarddarosa
Contributor II

MartinK,

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

Thanks,

ED

0 Kudos