Object oriented code in XMOS projects

If you have a simple question and just want an answer.
shawza
Junior Member
Posts: 6
Joined: Wed Jun 04, 2014 11:26 am

Object oriented code in XMOS projects

Post by shawza »

Hello forum,

I have come across some issues in some projects I have been working on. Basically I was trying to use C++ code to have a list of objects, and then make use of that in my XC project.

The error that I encountered was that I could have a list of one type of object, add to this list and use it without any issues, but as soon as I created another list (of a different type of object), the first list started to have issues.

I do understand that as I am typing this I have not included any code or example. I decided to just not use lists in the end and don't have the original code I was using. I would like to try find out what the issue was, so I will try recreate the code and problem, but just thought I would post this in case anyone knows the error I have encountered.

Many thanks
robertxmos
XCore Addict
Posts: 169
Joined: Fri Oct 23, 2015 10:23 am

Post by robertxmos »

Hi shawza,
The tools use the clang compiler & c++11 libraries, so its difficult to tell what the problem is without an example.
Sorry for the late reply and zero help.
robert