Just tried this and it verifies fine. However, when I try to flash the code, I get the following error:
../../../build/target/user/platform-8/libuser.a(teststring.o): In function
loop': teststring.cpp:31: undefined reference to
itoa(int, char*, unsigned char)'
collect2: error: ld returned 1 exit status
I got a int to char array conversion to work by using sprintf, but still would be nice to know why this compiles but doesn't flash.