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

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

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

816 Views
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.


 

Labels (1)
0 Kudos
Reply
1 Reply

640 Views
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 Kudos
Reply