cancel
Showing results for 
Search instead for 
Did you mean: 

SPC560Bxx OSAL component in C++

Gustav Andersson
Associate II
Posted on April 26, 2017 at 10:37

The 'SPC560Bxx OSAL Component RLA' 1.0.201704140929 doesn't work with C++ since the extern 'C'-block isn't closed in osal.h and systimer.h

#spc5studio #c++
This discussion has been locked for participation. If you have a question, please start a new topic in order to ask your question
1 ACCEPTED SOLUTION

Accepted Solutions
procolo
Senior
Posted on May 02, 2017 at 10:21

Hi,

many thanks for the feedback. We'll fix this issue for next SPC5studio release.

meanwhile (but I think you have already did it) adding the following lines at the end of function declaration

in systimer,h and osal.h will let you compile without errors:

#ifdef __cplusplus

}

#endif

Regards,

Procolo 

View solution in original post

1 REPLY 1
procolo
Senior
Posted on May 02, 2017 at 10:21

Hi,

many thanks for the feedback. We'll fix this issue for next SPC5studio release.

meanwhile (but I think you have already did it) adding the following lines at the end of function declaration

in systimer,h and osal.h will let you compile without errors:

#ifdef __cplusplus

}

#endif

Regards,

Procolo