Build error in CW11.1

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

Build error in CW11.1

跳至解决方案
1,322 次查看
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

标签 (1)
标记 (3)
0 项奖励
1 解答
1,272 次查看
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 项奖励
1 回复
1,273 次查看
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 项奖励