Build error in CW11.1

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

Build error in CW11.1

Jump to solution
1,283 Views
anand_s
Contributor III

Hi,

 

We are using CW11.1 IDE and MQX 4.2 RTOS for our development of Kinetis K60 controller based hardware.

Below file throws error when we trying to build K60 project in CW 11.1

C:\Freescale\CW MCU v11.1\MCU\ARM_GCC_Support\ewl\EWL_C\include\ctime.

The error is conflict types of data structures tm, time_t, mktime. These are already defined in MQX due to this conflict is happening.

My question is how we can handle this error? Right now we are commenting these data structures in library file(ctime). But i think this is not a right way to solve this issue. Please share your ideas to solve this issue.

Thanks and regards,

Anand.S

Labels (1)
0 Kudos
1 Solution
1,233 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi ANAND S:

MQX 4.2 was compiled and tested with Codewarrior 10.6.   At that time, there was no conflict issue.

From my point of view ,  it is acceptable to comment out the data structures.

Regards

Daniel

View solution in original post

0 Kudos
1 Reply
1,234 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi ANAND S:

MQX 4.2 was compiled and tested with Codewarrior 10.6.   At that time, there was no conflict issue.

From my point of view ,  it is acceptable to comment out the data structures.

Regards

Daniel

0 Kudos