yzoer wrote:FWIW, this kind of stuff should be a no-brainer to get this to work. Anyone new to XMOS and familiar with C/C++ is going to run into this problem and shouldn't have to go anywhere (i.e. here) to find answers..
Anyone familiar with C++ knows you cannot call a C++ function from C (or the
other way around) without doing exactly the same stuff! (i.e., tell the C++
compiler to use the C ABI for those functions).
The C and XC ABIs are almost identical.