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.

OMP device header and "C"

Not sure if this is where bugs or issues should be addressed.  This issue prevents code from being used in 'C'

The definition for this function only compiles under C++.  This fails under C. 

ti_omp_device.h:

void* __TI_omp_device_alloc(int device_id,
                            __TI_omp_mem_region mregion,          /* missing enum  */
                            int size);

this works with both

void* __TI_omp_device_alloc(int device_id,
                            enum __TI_omp_mem_region mregion,
                            int size);