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.

Open Event Machine C++ support

Hi,

I'm investigating the use of Open Event Machine for a project written in C++. As it turnes out, there are some portions of code that are incompatible with C++, e.g.  

  • unrecognized #pragmas STRUCT_ALIGN (in ti/runtime/openem/event_machine_hw_ti_types.h)
  • unrecognized #pragmas DATA_SECTION (wrong format, in ti/runtime/openem/firmware/event_machine_firmware.h)
  • cast errors from void * to a specific type (in ti/runtime/openem/src/event_machine_private_functions.h which is included by ti/runtime/openem/event_machine_hw_ti_functions.h)

Are there plans to provide an update that are completely compatible with C++ or are there workarounds (other than wrapping the relevant functions into c-source files)?

Thanks,

Roman