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.

MSP432P401R: JSON Build warning

Part Number: MSP432P401R

Hello There,

I'm working on a application that's using JSON library. I'm getting below warning while building the project with TI drivers and driverlib. As soon as I remove driverlib includes it builds without warnings.

Description Resource Path Location Type
#48-D incompatible redefinition of macro "__O" (declared at line 221 of "C:/ti/simplelink_msp432p4_sdk_3_40_00_05/source/third_party/CMSIS/Include/core_cm4.h") .ccsproject empty_MSP_EXP432P401R_tirtos_ccs2 line 59, external location: C:\ti\simplelink_msp432p4_sdk_3_40_00_05\source\ti\utils\json\json_engine.h C/C++ Problem

See last comment on this thread.

Regards,

Keshav Aggarwal

  • Keshav,

    This is simply a warning. Are you running into any issues when running your application?

    The warning is just the compiler noting that "__O" is declared in core_cm4.h, as well as json_engine.h. I wouldn't touch the one in core_cm4.h, so try commenting out this #define in json_engine.h. 

    BR,

    Seong

**Attention** This is a public forum