This is fine, it's just a bug in the syntax checker in the XDE - should get fixed in the next release.lilltroll wrote:I tried it on my XDK and it works fine - but, it doesn't seems to be supported by the spell-checker yet. The compiler likes it, but the spell-checker reports Syntax Error.m_y wrote:Assuming a G4...Code: Select all
#include <platform.h> core c0 = stdcore[0]; core c1 = stdcore[1]; core c2 = stdcore[2]; core c3 = stdcore[3]; void nothing() { } int main() { par { on c0: nothing(); on c1: nothing(); on c2: nothing(); on c3: nothing(); } return(0); }
If this is a "XMOS supported" way to write code, and I do not misunderstand things, it would be nice to add it in the 10.4.1 release.
Mike