This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I am trying to start a new C++ project. I imported the empty syscfg project for the 280025C and renamed the main function to have a .cpp extension. When I try to build it I get the above error.
"F:/ti/c2000/C2000Ware_4_01_00_00/driverlib/f28002x/driverlib/adc.h", line 424: error #20: identifier "_Bool" is undefined
"F:/ti/c2000/C2000Ware_4_01_00_00/driverlib/f28002x/driverlib/adc.h", line 424: error #18: expected a ")"
I did not have this problem with C2000ware ver 4.0
Thoughts?
Hi,
Thanks for your question. I will double-check with others to confirm, but I believe C2000Ware is not tested for .cpp support (any support that existed may have been incidental).
Let me reach out to the appropriate owners to confirm.
Regards,
Vince
Hi,
As Vince mentioned, C2000Ware is not tested for .cpp support.
Will try out with C2000Ware v4.0.0 and let you know my observations.
Best Regards
Siddharth
It appears to be an issue with the ASSERT macro called by the driverlib, i am using ver 4.1.0
John,
Is there any change in the compiler version that you are using from C2000Ware v4.0 to 4.1?
Best Regards
Siddharth