Error both 'long' and '_Bool' in declaration specifiers in KSDK_1.3.0

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

Error both 'long' and '_Bool' in declaration specifiers in KSDK_1.3.0

1,088 次查看
maksim_lipskiy
Contributor III

Hello !
I need help. I'm use KDS_3.1.0 with KSDK_1.3.0.
An error occurs during project compilation:

C:\Freescale\KSDK_1.3.0\usb\usb_core\include/types.h:65:23: error: both 'long' and '_Bool' in declaration specifiers

typedef unsigned long bool; /* Machine representation of a bool */

I include library stdbool.h,  but it did not help.

Thanks.


 

标签 (1)
标记 (2)
0 项奖励
回复
1 回复

912 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi,

how can I reproduce your problem? Say, based on a KDS_3.1.0 demo code?
Have a great day,
Jennie Zhang

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复