AnsweredAssumed Answered

std:string greater than 15 characters in VDSP++

Question asked by PAULWRIGHT on Apr 14, 2015
Latest reply on Mar 14, 2016 by Kader.M

Hello

 

I have been trying to use the C++ string class.

 

It seems to work OK provided the stings are short (<16 chars), but looking at the debugger longer strings fail to allocate at all elements.

 

E.G.

 

std::string s5 ("01234567890123");  // this is ok in the debugger, but extend it >15 characters and it breaks

std::string s6 ("012345678901234567890123456789");  // all elements are wrong in the debugger

std::string s7;

s7="012345678901234567890123456789"; // this is also wrong in the debugger (all elements)

 

My target is BF537 (Ez kit). I am using VDSP++, version V5.0.5.0 (I have other issues if I upgrade to newer versions)

 

Anybody else experienced this or am doing something wrong?

 

Thanks!

 

Paul

Outcomes